diff --git a/src/server/api/routers/stores.ts b/src/server/api/routers/stores.ts index b5ebd367..0270add4 100644 --- a/src/server/api/routers/stores.ts +++ b/src/server/api/routers/stores.ts @@ -46,6 +46,7 @@ export const storesProcedure = createTRPCRouter({ id: user.id, name: user.name ?? "Sin nombre", email: user.email ?? "Sin email", + userId: user.id, createdBy: user.id, }) .onConflictDoNothing();