From ce8eb38fd22f14f705bcb40bbb56fa01144ef3f3 Mon Sep 17 00:00:00 2001 From: TBalint2000 Date: Sun, 21 Jul 2024 15:00:44 +0200 Subject: [PATCH] build: correct coding error by es-lint Ref:#237 Time-spent: 0h2m --- binocular-backend/endpoints/getCommitType.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binocular-backend/endpoints/getCommitType.ts b/binocular-backend/endpoints/getCommitType.ts index bef30ca8..fdba460e 100644 --- a/binocular-backend/endpoints/getCommitType.ts +++ b/binocular-backend/endpoints/getCommitType.ts @@ -10,5 +10,5 @@ export default async function (req, res) { if (!req.query.commitMessage) { res.sendStatus(400); } - res.send(JSON.stringify(await classifier.predict('' + req.query.commitMessage, 5))) + res.send(JSON.stringify(await classifier.predict('' + req.query.commitMessage, 5))); }