From a5503e698fc3d43937da27ff240d414212cdeb7b Mon Sep 17 00:00:00 2001 From: "@wwwjim" Date: Mon, 19 Oct 2020 10:00:08 -0700 Subject: [PATCH] pretty format --- pages/api/v1/deals.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/api/v1/deals.js b/pages/api/v1/deals.js index db402537..7087bc52 100644 --- a/pages/api/v1/deals.js +++ b/pages/api/v1/deals.js @@ -20,5 +20,7 @@ export default async (req, res) => { }); } - return res.status(200).send({ decorator: "V1_GET_ALL_DEALS", deals: response }); + return res + .status(200) + .send(JSON.stringify({ decorator: "V1_GET_ALL_DEALS", deals: response }, null, 4)); };