Skip to content

Commit ab603ff

Browse files
mkljczkdahlia
authored andcommitted
Allow partial update of timeline markers
1 parent ae3a7f1 commit ab603ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/v1/markers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ app.post(
3030
scopeRequired(["write:statuses"]),
3131
zValidator(
3232
"json",
33-
z.record(
33+
z.partialRecord(
3434
z.enum(["notifications", "home"]),
3535
z.object({
3636
last_read_id: z.string(),

0 commit comments

Comments
 (0)