Return an empty diff in case the request fails
This commit is contained in:
parent
46ca969392
commit
1d3849fe1e
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class FolderSharingService {
|
|||
return photo;
|
||||
}).toList();
|
||||
} else {
|
||||
return null;
|
||||
return List<Photo>();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue