Skip to content

Commit 0862d14

Browse files
authored
Merge pull request #14 from nishilfaldu/feature/fix-return-type
feat(lib): fix return type for getNotification and getNotificationsFo…
2 parents cee945f + 2d88de0 commit 0862d14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/component/public.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export const getNotification = query({
102102
...notificationFields,
103103
state: notificationState,
104104
numPreviousFailures: v.number(),
105+
_creationTime: v.number(),
105106
})
106107
),
107108
handler: async (ctx, args) => {
@@ -122,6 +123,7 @@ export const getNotificationsForUser = query({
122123
id: v.id("notifications"),
123124
state: notificationState,
124125
numPreviousFailures: v.number(),
126+
_creationTime: v.number(),
125127
})
126128
),
127129
handler: async (ctx, args) => {

0 commit comments

Comments
 (0)