mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
chore: ts fix
This commit is contained in:
parent
c3bafd5a3c
commit
032d333029
@ -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',
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user