Skip to content

Commit 3a9a58b

Browse files
committed
Update example statusCode
1 parent f1b1865 commit 3a9a58b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: example/src/App.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ app.use(bodyParser.urlencoded({ extended: true }))
2020
const formatError = new FormatError([{
2121
name: 'INVALID_EMAIL',
2222
message: 'The email is not valid',
23-
statusCode: '400'
23+
statusCode: 400
2424
}])
2525
const errorName = formatError.errorName
2626

0 commit comments

Comments
 (0)