mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +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()) { | ||||
|     return ctx.badRequest( | ||||
|     return ctx.notImplemented( | ||||
|       'The server configuration for data transfer is invalid. Please contact your server administrator.', | ||||
|       { | ||||
|         code: 'INVALID_TOKEN_SALT', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Simone Taeggi
						Simone Taeggi