Skip to content

Commit

Permalink
refactor(stores): add userId when create owner
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosPavajeau committed May 16, 2024
1 parent b937fc9 commit d32446c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/api/routers/stores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d32446c

Please sign in to comment.