Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/photos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-14 10:52:24 +0300
committerLouis Chemineau <louis@chmn.me>2022-10-19 18:52:23 +0300
commit3da00822d0846b3e56b7aee736b6e7679e3bf3c4 (patch)
tree58b2ee543beb2c19a4b02729dbc30b1c52443af6 /src/services/DavClient.js
parent91d7e881507871f7fdc3ec20d247fdfd47b8020b (diff)
Fix nomedia excludion
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'src/services/DavClient.js')
-rw-r--r--src/services/DavClient.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/services/DavClient.js b/src/services/DavClient.js
index 2d4da082..72c2daf5 100644
--- a/src/services/DavClient.js
+++ b/src/services/DavClient.js
@@ -24,8 +24,10 @@ import { createClient, getPatcher } from 'webdav'
import axios from '@nextcloud/axios'
import parseUrl from 'url-parse'
import { generateRemoteUrl } from '@nextcloud/router'
+import { getCurrentUser } from '@nextcloud/auth'
export const rootPath = 'dav'
+export const prefixPath = `/files/${getCurrentUser().uid}`
// force our axios
const patcher = getPatcher()