Skip to content

Commit

Permalink
Modify success message
Browse files Browse the repository at this point in the history
  • Loading branch information
JiashuHarryHuang committed Nov 10, 2023
1 parent 3860982 commit 25f7604
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/api/scripts/02-insert-tags-programs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ export default async function handler(

res
.status(200)
.json({ success: true, message: 'This is a template endpoint' });
.json({
success: true,
message: 'Inserted fake tags and program data',
});
} catch (error: any) {
res.status(500).json({ success: false, error: error.message });
}
Expand Down

0 comments on commit 25f7604

Please sign in to comment.