We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b59cb commit 0201387Copy full SHA for 0201387
apps/files_sharing/src/mixins/ShareRequests.js
@@ -99,9 +99,11 @@ export default {
99
return true
100
} catch (error) {
101
console.error('Error while updating share', error)
102
- OC.Notification.showTemporary(t('files_sharing', 'Error updating the share'), { type: 'error' })
+ if (error.response.status !== 400) {
103
+ OC.Notification.showTemporary(t('files_sharing', 'Error updating the share'), { type: 'error' })
104
+ }
105
const message = error.response.data.ocs.meta.message
- throw new Error(`${Object.keys(properties)}, ${message}`)
106
+ throw new Error(message)
107
}
108
},
109
0 commit comments