Commit graph

21 commits

Author SHA1 Message Date
admineral
18576f43b9 Convert uid to string for consistent comparison with session.user.id 2023-11-27 22:14:06 +01:00
admineral
022846e706 Fix Unauthorized error by ensuring user ID in JWT token is a string 2023-11-27 20:50:38 +01:00
admineral
df02a18d8c Fix type mismatch in removeChat function 2023-11-27 19:31:17 +01:00
UrNas
805639dba4 check chats length before run kv.pipeline() otherwise get empty pipeline 2023-06-21 02:01:22 +03:00
shadcn
cb941daca9 fix: actions 2023-06-16 21:52:01 +04:00
Jared Palmer
fef709a21d Update next-auth 2023-06-16 12:03:09 -04:00
Jared Palmer
187b55aad7 Implement next-auth v5 2023-06-16 11:49:14 -04:00
shadcn
137bdadaf9 feat: refactor chat sharing implementation 2023-06-16 16:18:52 +04:00
shadcn
8cc3fea048 feat: implement sharing 2023-06-16 15:20:42 +04:00
shadcn
2231c436cc fix: use reverse sort for chats 2023-06-15 16:29:05 +04:00
shadcn
8156e62256 fix: workaround for using currentUser in server actions 2023-06-14 16:39:55 +04:00
Jared Palmer
567b0ac313 Move to clerk 2023-06-13 17:31:15 -04:00
Jared Palmer
d087b429ee Tweak data fetching with suspense 2023-06-11 11:14:39 -04:00
shadcn
01dc4520d6 feat: reorganize files and implement ui and sidebar 2023-06-11 00:23:31 +04:00
Jared Palmer
417f69e0f1 Run prettier 2023-06-02 15:33:48 -04:00
Jared Palmer
fc79a708f4 Switch to @vercel/kv 2023-06-02 15:15:35 -04:00
Jared Palmer
01527d450b Remove auth on delete for now 2023-06-02 14:28:05 -04:00
Jared Palmer
a7af3107b5 Users can only delete their own chats 2023-06-02 13:33:12 -04:00
Jared Palmer
1af7fb3dfc Remove vercel auth 2023-05-22 10:32:06 -04:00
Jared Palmer
177b2cc210 Add back vc auth temporarily to unblock things 2023-05-19 14:13:38 -04:00
Jared Palmer
a04776256d init 2023-05-19 12:33:56 -04:00