Merge pull request #2962 from nextcloud/dependabot/npm_and_yarn/master/nextcloud/router-2.0.0

This commit is contained in:
Julius Härtl
2021-04-16 14:39:18 -01:00
committed by GitHub
10 changed files with 50 additions and 19 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,