Skip to content

Commit

Permalink
Appview v2: handle empty cursor on list notifications (#2017)
Browse files Browse the repository at this point in the history
handle empty cursor on appview listnotifs
  • Loading branch information
devinivy authored Jan 12, 2024
1 parent 1c14449 commit f2cfd45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const skeleton = async (
])
return {
notifs: res.notifications,
cursor: res.cursor,
cursor: res.cursor || undefined,
lastSeenNotifs: lastSeenRes.timestamp?.toDate().toISOString(),
}
}
Expand Down

0 comments on commit f2cfd45

Please sign in to comment.