Skip to content

Commit

Permalink
fix: improve error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Jan 20, 2024
1 parent 723da65 commit 5069188
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/user/bulk.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default defineProtectedEventHandler(async (event) => {
throw createError({
statusCode: 400,
statusMessage: 'Bad request',
message: result.error.message,
})
}

Expand Down

0 comments on commit 5069188

Please # to comment.