Merge pull request #2962 from nextcloud/dependabot/npm_and_yarn/master/nextcloud/router-2.0.0
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user