From 1c2d1b19d2f1c98014edfa0c3e77298fab1102c2 Mon Sep 17 00:00:00 2001 From: Henri Remonen Date: Tue, 16 Jul 2024 09:56:21 +0300 Subject: [PATCH] chore: fix prettier errors --- src/server/routes/analytic.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/server/routes/analytic.ts b/src/server/routes/analytic.ts index 7d9ddcec..2e6eefc1 100644 --- a/src/server/routes/analytic.ts +++ b/src/server/routes/analytic.ts @@ -34,9 +34,8 @@ analyticRouter.get( async (req, res) => { const { surveyName } = req.params - const surveyAnswerDistribution = await getSurveyAnswerDistribution( - surveyName - ) + const surveyAnswerDistribution = + await getSurveyAnswerDistribution(surveyName) return res.status(200).send(surveyAnswerDistribution) }