Fix since_id

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent c430672460
commit 606f0df712

@ -102,7 +102,7 @@ export function expandNotifications({ maxId } = {}, done = noOp) {
};
if (!maxId && notifications.get('items').size > 0) {
params.since_id = notifications.getIn(['items', 0]);
params.since_id = notifications.getIn(['items', 0, 'id']);
}
dispatch(expandNotificationsRequest(isLoadingMore));

Loading…
Cancel
Save