From 330060c9d25cc8c6480595535ec8dc7ea1aaa473 Mon Sep 17 00:00:00 2001 From: Rafael Park Date: Tue, 3 Dec 2024 18:53:38 -0800 Subject: [PATCH] fixed linting --- backend/src/services/logbooks-service.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/src/services/logbooks-service.js b/backend/src/services/logbooks-service.js index 22221eae..abab688d 100644 --- a/backend/src/services/logbooks-service.js +++ b/backend/src/services/logbooks-service.js @@ -54,8 +54,7 @@ export async function createLog(req) { } switch (body["type"]) { case "adult_cardiac_logs": - const log = await insertTable(supabase, "adult_cardiac_logs", body); - return log; + return await insertTable(supabase, "adult_cardiac_logs", body); default: throw new Error(`log and logbook type '${body["type"]}' are invalid`); }