Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
parkrafael committed Dec 4, 2024
1 parent d737a6b commit 330060c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/services/logbooks-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
}
Expand Down

0 comments on commit 330060c

Please sign in to comment.