diff options
| author | Fuwn <[email protected]> | 2026-02-03 21:07:28 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-03 21:07:28 -0800 |
| commit | e72b0cb261b5fc9c70a839882ea07160ef7ef424 (patch) | |
| tree | 0913ca6b24a078b91a64d15817d80d3cdaf56d32 /packages/web/src/server/api/routers/post.ts | |
| parent | feat(mcp): Wire to Supabase with project and search tools (diff) | |
| download | archived-imemio-e72b0cb261b5fc9c70a839882ea07160ef7ef424.tar.xz archived-imemio-e72b0cb261b5fc9c70a839882ea07160ef7ef424.zip | |
feat(web): Replace NextAuth with Supabase Auth
Diffstat (limited to 'packages/web/src/server/api/routers/post.ts')
| -rw-r--r-- | packages/web/src/server/api/routers/post.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web/src/server/api/routers/post.ts b/packages/web/src/server/api/routers/post.ts index 2bd03a4..301e252 100644 --- a/packages/web/src/server/api/routers/post.ts +++ b/packages/web/src/server/api/routers/post.ts @@ -20,7 +20,7 @@ export const postRouter = createTRPCRouter({ .mutation(async ({ ctx, input }) => { await ctx.db.insert(posts).values({ name: input.name, - createdById: ctx.session.user.id, + createdById: ctx.user.id, }); }), |