Skip to content

Commit

Permalink
chore: use more relevant status code (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e authored Dec 5, 2023
1 parent b7b2cc8 commit ab6b065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const network = process.env.NETWORK || 'testnet';
const SEQUENCER_URL = process.env.SEQUENCER_URL || '';

router.post('/message', async (req, res) => {
return sendError(res, 'personal sign is not supported anymore');
return sendError(res, 'personal sign is not supported anymore', 410);
});

router.post('/msg', async (req, res) => {
Expand Down

0 comments on commit ab6b065

Please sign in to comment.