Skip to content

Commit

Permalink
Fixed incorrect calling of updateLogIntervalWithRetries
Browse files Browse the repository at this point in the history
  • Loading branch information
camroots committed May 21, 2023
1 parent 134f200 commit 9d9adb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/Bluetooth/Download/DownloadSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function* tryDownloadForSensor({
);

yield call(downloadManager.saveLogs, sensorLogs);
if (numberOfLogsToSave) {
if (sensorLogs.length) {
yield call(
btService.updateLogIntervalWithRetries,
macAddress,
Expand Down

0 comments on commit 9d9adb0

Please sign in to comment.