Skip to content

Commit

Permalink
fix: eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
szymonrybczak committed Jan 14, 2025
1 parent 8a914f3 commit 6276845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/setup/backgroundTask/index.ios.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import TaskManager from '@expensify/react-native-background-task';
import Log from '@libs/Log';
import * as SequentialQueue from '@libs/Network/SequentialQueue';
import {flush} from '@libs/Network/SequentialQueue';

const BACKGROUND_FETCH_TASK = 'FLUSH-SEQUENTIAL-QUEUE-BACKGROUND-FETCH';

TaskManager.defineTask(BACKGROUND_FETCH_TASK, () => {
Log.info('BackgroundTask', true, `Executing ${BACKGROUND_FETCH_TASK} background task at ${new Date().toISOString()}`);
SequentialQueue.flush();
flush();
});

0 comments on commit 6276845

Please sign in to comment.