Skip to content

Commit

Permalink
updated data schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienR1 committed Dec 5, 2023
1 parent 0b0850a commit 92f8961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const PayloadBody = z.object({
}),
clock: ClockSchema,
manifest: ManifestSchema,
data: EntityChanges.or(DatabaseChanges),
data: z.union([EntityChanges, DatabaseChanges, z.unknown()]),
});
export type PayloadBody = z.infer<typeof PayloadBody>;

Expand Down

0 comments on commit 92f8961

Please sign in to comment.