mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-09-30 18:29:36 +02:00
inbox: require non-empty source in inbox item (#98)
This commit is contained in:
1 parent
159fe0e376
commit
580524b855
1 file changed
+1
-1
@@ -17,7 +17,7 @@ const RawInboxItemSchema = z.object({
|
||||
notebookIds: z.array(z.string()).optional(),
|
||||
tagIds: z.array(z.string()).optional(),
|
||||
type: z.enum(["note"]),
|
||||
source: z.string(),
|
||||
source: z.string().min(1, "Source is required"),
|
||||
version: z.literal(1),
|
||||
content: z
|
||||
.object({
|
||||
|
||||
Reference in new issue
Block a user