mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit d8ef36dfbd76f0b36ce84837f5b0f2e0939abf71)
This commit is contained in:
parent
ad03f736af
commit
b0afcf4844
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user