Adjust generateOcsUrl calls

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2021-04-14 16:18:10 +02:00
parent 5ea056ee05
commit 6fb99df3e4
8 changed files with 12 additions and 12 deletions

View File

@@ -210,7 +210,7 @@ export default {
throw new Error(t('files', 'Invalid path selected'))
}
axios.post(generateOcsUrl('apps/files_sharing/api/v1', 2) + 'shares', {
axios.post(generateOcsUrl('apps/files_sharing/api/v1/shares'), {
path,
shareType: 12,
shareWith: '' + this.cardId,