Skip to content

Commit

Permalink
Merge pull request #1409 from nextcloud/backport/1372/stable25
Browse files Browse the repository at this point in the history
[stable25] Prevent building prefixPath on loading
  • Loading branch information
artonge authored Oct 20, 2022
2 parents a46e3cf + cdb3b9a commit 33492cd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions js/photos-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-public.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/services/DavClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { generateRemoteUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'

export const rootPath = 'dav'
export const prefixPath = `/files/${getCurrentUser().uid}`
export const prefixPath = `/files/${getCurrentUser()?.uid}`

// force our axios
const patcher = getPatcher()
Expand Down

0 comments on commit 33492cd

Please sign in to comment.