Skip to content

Commit

Permalink
fix: remove potentially sensitive logs (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidemarcoli authored Sep 12, 2024
1 parent b6d0656 commit d5c9481
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/routes/settings/content/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const actions: Actions = {

try {
const data = await setSettings(event.fetch, toSet);
console.log(data);
if (!data.data.success) {
return message(form, `Service(s) failed to initialize. Please check your settings.`, {
status: 400
Expand Down
2 changes: 0 additions & 2 deletions src/routes/settings/scrapers/+page.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export const load: PageServerLoad = async ({ fetch, locals }) => {

// eslint-disable-next-line @typescript-eslint/no-explicit-any
const data: any = await getPartialSettings();
console.log(JSON.stringify(data, null, 2));
const toPassToSchema = scrapersSettingsToPass(data);
console.log(JSON.stringify(toPassToSchema, null, 2));

return {
form: await superValidate(toPassToSchema, zod(scrapersSettingsSchema))
Expand Down

0 comments on commit d5c9481

Please sign in to comment.