Skip to content

Commit d266a41

Browse files
committed
update log
1 parent c004e5e commit d266a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/api/registration/update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
9999
// No record found, add a new row to the table
100100
return res
101101
.writeHead(404, { Location: '/' })
102-
.json({ message: 'No record found for this email' });
102+
.json({ message: `No record found for this email (${email})` });
103103
} catch (error) {
104104
console.error('Error with /api/registration/update PATCH request:', error);
105105
return res.status(500).json({ message: 'Server Error' });

0 commit comments

Comments
 (0)