Skip to content

Commit

Permalink
fix: update subscription metadata to be null in schema (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
anbraten authored Nov 8, 2023
1 parent 0b30d13 commit be1bfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function addSchemas(server: FastifyInstance): void {
type: 'object',
properties: {
_id: { type: 'string' },
metadata: { type: 'object', additionalProperties: true },
metadata: { type: ['object', 'null'], additionalProperties: true },
anchorDate: { type: 'string' },
status: { type: 'string' },
error: { type: 'string' },
Expand Down

0 comments on commit be1bfb9

Please sign in to comment.