Skip to content

Commit 30708f4

Browse files
Merge pull request #65 from CloudBoltSoftware/feature/ENG-24556-add-catalog-settings
Feature/eng 24556 add catalog settings
2 parents 960ae50 + cd4093c commit 30708f4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cloudbolt/cb-api-helper",
3-
"version": "0.5.9",
3+
"version": "0.5.10",
44
"scripts": {
55
"co:login": "aws sso login && aws codeartifact login --tool npm --repository cloudbolt-npm --domain cloudbolt --domain-owner 499620025628",
66
"husky:install": "husky install",

src/api/services/v3/cmp/MiscellaneousSettingsService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ const URL = 'v3/cmp/miscellaneousSettings'
44

55
export default {
66
/**
7-
* Retrieve a list of existing Miscellaneous Settings
8-
* @returns {Promise} resolves with a paginated list of all misc settings.
7+
* Retrieve existing Miscellaneous Settings
8+
* @returns {Promise} resolves with all misc settings.
99
*/
10-
list: () => crud.getItems(URL),
10+
list: () => crud.getItemByEndpoint(URL),
1111

1212
/**
1313
* Update existing Miscellaneous Settings

src/api/services/v3/cmp/SettingsService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ export default {
1111
* catalogShowOsBuildsFilter,catalogShowResourceTypesFilter,catalogShowGroupsFilter
1212
* @returns {Promise} API Response of the Settings object, or the specific fields requested
1313
*/
14-
list: (options) => crud.getItems(URL, options)
14+
list: (options) => crud.getItemByEndpoint(URL, options)
1515
}

0 commit comments

Comments
 (0)