mirror of
https://github.com/strapi/strapi.git
synced 2025-09-14 02:57:52 +00:00
change ctx.badRequest to ctx.notImplemented
This commit is contained in:
parent
ba2b9030a7
commit
faa5820548
@ -12,7 +12,7 @@ module.exports = () => async (ctx, next) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!hasValidTokenSalt()) {
|
if (!hasValidTokenSalt()) {
|
||||||
return ctx.badRequest(
|
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.',
|
||||||
{
|
{
|
||||||
code: 'INVALID_TOKEN_SALT',
|
code: 'INVALID_TOKEN_SALT',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user