Skip to content

Commit

Permalink
fix method used in refresh unread inbox items
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymikhadyuk committed Dec 11, 2023
1 parent 6604f33 commit c783af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/states/inbox/saga/refreshUnreadInboxItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ export function* refreshUnreadInboxItems() {

while (keepItemsFetching) {
const { data, lastDocTimestamp, hasMore } = (yield call(
UserService.getInboxItems,
UserService.getInboxItemsWithMetadata,
{
startAfter,
limit: 5,
unread: true,
},
)) as Awaited<ReturnType<typeof UserService.getInboxItems>>;
)) as Awaited<ReturnType<typeof UserService.getInboxItemsWithMetadata>>;
const chatChannelItems = data.chatChannels
.filter(
(chatChannel) =>
Expand Down

0 comments on commit c783af9

Please sign in to comment.