mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-03 21:52:31 +09: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: {
|
||||
|
||||
Reference in new issue
Block a user