rem excess logs

This commit is contained in:
Ean Milligan
2026-04-20 22:37:29 -04:00
parent 86e4db8416
commit da4f22b396
2 changed files with 0 additions and 2 deletions

1
mod.ts
View File

@@ -29,7 +29,6 @@ Deno.serve({ port: config.api.port }, async (req) => {
let rawPath = (urlPath.split('api')[1] ?? '').trim();
if (rawPath.endsWith('/')) rawPath = rawPath.slice(0, -1);
const path = rawPath;
console.log(urlPath, path);
let failed = false;
if (req.method === 'GET') {

View File

@@ -21,7 +21,6 @@ export default async (userId: string, userName: string) => {
const plans: Plan[] = await dbClient
.query('SELECT id, name, folder FROM plans WHERE ownerId = ? AND deleted = 0 GROUP BY folder,name,id ORDER BY folder ASC,name ASC', [userId])
.catch((e) => {
console.error(e);
failed = true;
});
if (failed) return "Couldn't read DB.";