Skip to content

Commit

Permalink
fix: deleted console.log from /api/settings (#4287)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Oct 18, 2024
1 parent 0db553d commit c9a78a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/sixty-rockets-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"geohub": patch
---

fix: deleted console.log from /api/settings
1 change: 0 additions & 1 deletion sites/geohub/src/routes/api/settings/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const POST: RequestHandler = async ({ request, locals }) => {
export const GET: RequestHandler = async ({ locals }) => {
const session = await locals.auth();
if (!session) {
console.log(DefaultUserConfig);
return new Response(JSON.stringify(DefaultUserConfig), {});
}
const user_email = session.user?.email;
Expand Down

0 comments on commit c9a78a4

Please sign in to comment.