diff options
Diffstat (limited to 'apps/files/src')
-rw-r--r-- | apps/files/src/components/TransferOwnershipDialogue.vue | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files/src/components/TransferOwnershipDialogue.vue b/apps/files/src/components/TransferOwnershipDialogue.vue index 7bc27e88ecf..f0025d69ee1 100644 --- a/apps/files/src/components/TransferOwnershipDialogue.vue +++ b/apps/files/src/components/TransferOwnershipDialogue.vue @@ -162,7 +162,7 @@ export default { this.loadingUsers = true try { - const response = await axios.get(generateOcsUrl('apps/files_sharing/api/v1') + 'sharees', { + const response = await axios.get(generateOcsUrl('apps/files_sharing/api/v1', 2) + 'sharees', { params: { format: 'json', itemType: 'file', @@ -172,10 +172,6 @@ export default { }, }) - if (response.data.ocs.meta.statuscode !== 100) { - logger.error('Error fetching suggestions', { response }) - } - this.userSuggestions = {} response.data.ocs.data.exact.users.concat(response.data.ocs.data.users).forEach(user => { Vue.set(this.userSuggestions, user.value.shareWith, { |