diff options
Diffstat (limited to 'apps/updatenotification/src')
-rw-r--r-- | apps/updatenotification/src/components/UpdateNotification.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/src/components/UpdateNotification.vue b/apps/updatenotification/src/components/UpdateNotification.vue index 5c12fa76a6e..5d13f740dcb 100644 --- a/apps/updatenotification/src/components/UpdateNotification.vue +++ b/apps/updatenotification/src/components/UpdateNotification.vue @@ -298,7 +298,7 @@ export default { } $.ajax({ - url: generateOcsUrl('apps/updatenotification/api/v1/applist', 2) + this.newVersion, + url: generateOcsUrl('apps/updatenotification/api/v1/applist/{newVersion}', { newVersion: this.newVersion }), type: 'GET', beforeSend(request) { request.setRequestHeader('Accept', 'application/json') @@ -356,7 +356,7 @@ export default { }.bind(this)) $.ajax({ - url: generateOcsUrl('cloud', 2) + '/groups', + url: generateOcsUrl('cloud/groups'), dataType: 'json', success: function(data) { const results = [] |