refactor: update

This commit is contained in:
Mauricio Siu
2025-02-13 01:21:49 -06:00
parent d1f72a2e20
commit 140a871275
4 changed files with 7 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
import { db } from "@dokploy/server/db";
import { user } from "@dokploy/server/db/schema";
import type { users_temp } from "@dokploy/server/db/schema";
import { TRPCError } from "@trpc/server";
import { eq } from "drizzle-orm";
export type User = typeof user.$inferSelect;
export type User = typeof users_temp.$inferSelect;
export const findUserById = async (userId: string) => {
const userR = await db.query.user.findFirst({