F #5704: Fix API zendesk(update), vcenter, marketapp (#1746)

This commit is contained in:
Jorge Miguel Lobo Escalona authored and GitHub committed 2022-02-02 17:43:12 +01:00
1 parent fae6bcc92f
commit d8ef36dfbd
3 files changed
+8 -8

No files matched your search

@@ -35,14 +35,14 @@ module.exports = [
},
{
...Commands[MARKETAPP_VMIMPORT],
actions: importMarket,
action: importMarket,
},
{
...Commands[MARKETAPP_TEMPLATEIMPORT],
actions: importMarket,
action: importMarket,
},
{
...Commands[MARKETAPP_DOCKERTAGS],
actions: getDockerTags,
action: getDockerTags,
},
]
@@ -42,14 +42,14 @@ module.exports = [
},
{
...Commands[VCENTER_IMPORT],
actions: importVcenter,
action: importVcenter,
},
{
...Commands[VCENTER_LISTALL],
actions: listAll,
action: listAll,
},
{
...Commands[VCENTER_LIST],
actions: list,
action: list,
},
]
@@ -20,7 +20,7 @@ const {
} = require('server/utils/constants/defaults')
const ZENDESK = require('server/routes/api/zendesk/basepath')
const { POST, GET, UPDATE } = httpMethod
const { POST, GET, PUT } = httpMethod
const basepath = `/${ZENDESK}`
const { resource, postBody } = fromData
@@ -75,7 +75,7 @@ module.exports = {
},
[ZENDESK_UPDATE]: {
path: `${basepath}/:id`,
httpMethod: UPDATE,
httpMethod: PUT,
auth: true,
params: {
id: {