fix(api-server): return usable flash type to client (#50082)

pull/50041/head
Shaun Hamilton 2023-04-17 18:48:18 +01:00 committed by GitHub
parent 16f0c4b7cc
commit 8300ccb7f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export default function prodErrorHandler() {
if (type === 'json') {
return res.json({
type: handled.type || 'errors',
type: handled.type || 'danger',
message
});
} else {