chore: ts fix

This commit is contained in:
Ben Irvin 2024-01-18 16:05:40 +01:00
parent c3bafd5a3c
commit 032d333029

View File

@ -21,6 +21,7 @@ export default () => async (ctx: Context, next: Next) => {
if (!hasValidTokenSalt()) {
return ctx.notImplemented(
'The server configuration for data transfer is invalid. Please contact your server administrator.',
// @ts-expect-error TODO we need to extend the context here to support this
{
code: 'INVALID_TOKEN_SALT',
}