chore(lint): more linting oopysd

This commit is contained in:
2025-12-31 15:17:12 -06:00
parent 4e6d35bc67
commit 404974dde0
2 changed files with 6 additions and 4 deletions

View File

@@ -20,6 +20,8 @@ r.post("/add", async (req, res) => {
const v = newQuery.parse(req.body);
const query: NewDatamart = { ...v };
console.log(query);
} catch (err) {
if (err instanceof z.ZodError) {
const flattened = z.flattenError(err);
@@ -40,10 +42,10 @@ r.post("/add", async (req, res) => {
}
return apiReturn(res, {
success: true,
level: "info",
success: false,
level: "error",
module: "routes",
subModule: "prodSql",
subModule: "datamart",
message: "connect.message",
data: [{ connect: "" }],
status: 200,

View File

@@ -1,4 +1,4 @@
import { betterAuth, type User } from "better-auth";
import { betterAuth } from "better-auth";
import { drizzleAdapter } from "better-auth/adapters/drizzle";
import {
admin,