Skip to content

Commit

Permalink
removing data reference
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldoglas committed Sep 8, 2023
1 parent 250aa17 commit e07c47c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/OnyxUpdates.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function applyHTTPSOnyxUpdates(request, response) {
})
.then(() => {
console.debug('[OnyxUpdateManager] Done applying HTTPS update');
return response;
return Promise.resolve(response);;
});
}

Expand All @@ -68,7 +68,7 @@ function applyPusherOnyxUpdates(updates) {
* @returns {Promise}
*/
function apply({lastUpdateID, type, request, response, updates}) {
console.debug(`[OnyxUpdateManager] Applying update type: ${type} with lastUpdateID: ${lastUpdateID}`, data);
console.debug(`[OnyxUpdateManager] Applying update type: ${type} with lastUpdateID: ${lastUpdateID}`, { request, response, updates } );

if (lastUpdateID && lastUpdateID < lastUpdateIDAppliedToClient) {
console.debug('[OnyxUpdateManager] Update received was older than current state, returning without applying the updates');
Expand Down

0 comments on commit e07c47c

Please sign in to comment.