update question
This commit is contained in:
@ -15,7 +15,7 @@ app.post('/transfer', async (c) => {
|
||||
const { amount, sender, receiver } = body;
|
||||
|
||||
if (amount <= 0) {
|
||||
return c.json({ error: 'Amount must be greater than 0' }, 40);
|
||||
return c.json({ error: 'Amount must be greater than 0' }, 1000);
|
||||
}
|
||||
|
||||
const transfer = {
|
||||
|
||||
Reference in New Issue
Block a user