mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: return method correctly (#20831)
This commit is contained in:
parent
13563fc507
commit
4b9019e762
1 changed files with 2 additions and 2 deletions
|
|
@ -342,11 +342,11 @@ class DriftBackupNotifier extends StateNotifier<DriftBackupState> {
|
|||
if (tasks.isEmpty) {
|
||||
// Start a new backup queue
|
||||
_logger.info("Start a new backup queue");
|
||||
await startBackup(userId);
|
||||
return startBackup(userId);
|
||||
}
|
||||
|
||||
_logger.info("Tasks to resume: ${tasks.length}");
|
||||
await _uploadService.resumeBackup();
|
||||
return _uploadService.resumeBackup();
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue