Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
chore: sync changes
Browse files Browse the repository at this point in the history
  • Loading branch information
KenNoYu committed Aug 1, 2024
1 parent 12b3460 commit bb5bb85
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions client/src/lib/api-types/schemas/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,4 @@ export const notificationSchema = z.object({
required_error: 'Notification type is required',
})
.default('info'),
expiresAt: z
.string({
invalid_type_error: 'Expiration date must be a string',
})
.datetime({ message: 'Expiration date must be a valid datetime' })
.optional(),
});
6 changes: 0 additions & 6 deletions server/src/lib/api-types/schemas/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,4 @@ export const notificationSchema = z.object({
required_error: 'Notification type is required',
})
.default('info'),
expiresAt: z
.string({
invalid_type_error: 'Expiration date must be a string',
})
.datetime({ message: 'Expiration date must be a valid datetime' })
.optional(),
});

0 comments on commit bb5bb85

Please sign in to comment.