Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JiashuHarryHuang committed Nov 11, 2023
1 parent 25f7604 commit 3191821
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pages/api/scripts/02-insert-tags-programs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ export default async function handler(
await Tags.insertMany(genratedTag);
});

res
.status(200)
.json({
success: true,
message: 'Inserted fake tags and program data',
});
res.status(200).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 3191821

Please sign in to comment.