mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Fix exception when restoring files from trash
This commit is contained in:
parent
aac86d8590
commit
d8048b2004
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ class RestoreTrashbin {
|
|||
static bool require(DiContainer c) => true;
|
||||
|
||||
Future<void> call(Account account, File file) async {
|
||||
await Move(_c)(
|
||||
// we don't cache the trashbin
|
||||
await Move(_c.withRemoteRepo())(
|
||||
account,
|
||||
file,
|
||||
"remote.php/dav/trashbin/${account.userId}/restore/${file.filename}",
|
||||
|
|
Loading…
Add table
Reference in a new issue