mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +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()) {
|
if (!hasValidTokenSalt()) {
|
||||||
return ctx.notImplemented(
|
return ctx.notImplemented(
|
||||||
'The server configuration for data transfer is invalid. Please contact your server administrator.',
|
'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',
|
code: 'INVALID_TOKEN_SALT',
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user