diff options
| author | MohamedBassem <me@mbassem.com> | 2024-07-01 11:34:55 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-07-01 11:34:55 +0000 |
| commit | 9883c6bcd18c2ca1fda7d83e465a0bf9cf45510d (patch) | |
| tree | a602da3946734bb677276d59e86ec3e7010911be | |
| parent | 3d495cd16aff9e37a8db27ae4ee88c0fbad93122 (diff) | |
| download | karakeep-9883c6bcd18c2ca1fda7d83e465a0bf9cf45510d.tar.zst | |
fix: Increase list name size to max 40 chars up from 20. Fixes #254
| -rw-r--r-- | packages/trpc/routers/lists.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/trpc/routers/lists.ts b/packages/trpc/routers/lists.ts index d4b56ecf..a69d1f24 100644 --- a/packages/trpc/routers/lists.ts +++ b/packages/trpc/routers/lists.ts @@ -15,7 +15,7 @@ const zNewBookmarkListSchema = z.object({ name: z .string() .min(1, "List name can't be empty") - .max(20, "List name is at most 20 chars"), + .max(40, "List name is at most 40 chars"), icon: z.string(), parentId: z.string().nullish(), }); |
