diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-07-15 12:46:14 +0000 |
---|---|---|
committer | MichaIng <micha@dietpi.com> | 2021-07-23 15:56:28 +0200 |
commit | 6e5191b7021b448a48d741233bd17ab3c222119f (patch) | |
tree | 26c353643f5d1dd764d512e1fd15e15168d54346 /apps/workflowengine/src | |
parent | 229bfcbab56e2de473d2d34bb7d86b5665d4ab35 (diff) | |
download | nextcloud-server-6e5191b7021b448a48d741233bd17ab3c222119f.tar.gz nextcloud-server-6e5191b7021b448a48d741233bd17ab3c222119f.zip |
Bump @nextcloud/router from 1.2.0 to 2.0.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r-- | apps/workflowengine/src/components/Checks/RequestUserGroup.vue | 2 | ||||
-rw-r--r-- | apps/workflowengine/src/helpers/api.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/workflowengine/src/components/Checks/RequestUserGroup.vue b/apps/workflowengine/src/components/Checks/RequestUserGroup.vue index f9f6226b4e4..8fba0fe9211 100644 --- a/apps/workflowengine/src/components/Checks/RequestUserGroup.vue +++ b/apps/workflowengine/src/components/Checks/RequestUserGroup.vue @@ -84,7 +84,7 @@ export default { } this.status.isLoading = true - return axios.get(generateOcsUrl('cloud', 2) + 'groups/details?limit=20&search=' + encodeURI(searchQuery)).then((response) => { + return axios.get(generateOcsUrl('cloud/groups/details?limit=20&search={searchQuery}', { searchQuery })).then((response) => { response.data.ocs.data.groups.forEach((group) => { this.addGroup({ id: group.id, diff --git a/apps/workflowengine/src/helpers/api.js b/apps/workflowengine/src/helpers/api.js index 878ae03acdd..6b28bfb6fb3 100644 --- a/apps/workflowengine/src/helpers/api.js +++ b/apps/workflowengine/src/helpers/api.js @@ -28,7 +28,7 @@ import { generateOcsUrl } from '@nextcloud/router' const scopeValue = loadState('workflowengine', 'scope') === 0 ? 'global' : 'user' const getApiUrl = (url) => { - return generateOcsUrl('apps/workflowengine/api/v1/workflows', 2) + scopeValue + url + '?format=json' + return generateOcsUrl('apps/workflowengine/api/v1/workflows/{scopeValue}', { scopeValue }) + url + '?format=json' } export { |