chore(lint): more linting oopysd
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user