From 3191821cc05adc5db3a4428ba5d78726dc47e6d8 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Sat, 11 Nov 2023 01:09:23 -0600 Subject: [PATCH] Run prettier --- pages/api/scripts/02-insert-tags-programs.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pages/api/scripts/02-insert-tags-programs.ts b/pages/api/scripts/02-insert-tags-programs.ts index 8514f11..9a061ce 100644 --- a/pages/api/scripts/02-insert-tags-programs.ts +++ b/pages/api/scripts/02-insert-tags-programs.ts @@ -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 }); }