Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
parkrafael committed Nov 29, 2024
1 parent 9a7d61e commit 8e5b3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/services/logbooks-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export async function createLog(req) {
case "adult_cardiac_logs":
return insertTable(supabase, "adult_cardiac_logs", body)
default:
throw new Error(`log and logbook type '${type}' are invalid`);
throw new Error(`log and logbook type '${body['type']}' are invalid`);
}
} catch (error) {
return { error: error.message };
Expand Down

0 comments on commit 8e5b3a4

Please sign in to comment.