mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
9ffabb7d3a
commit
3cdab7551f
@ -275,7 +275,7 @@ export const provisionService = {
|
||||
addHost: async ({ id, amount }) => {
|
||||
const res = await RestClient.request({
|
||||
method: PUT,
|
||||
url: `/api/${PROVISION}/host/${id}`,
|
||||
url: `/api/${PROVISION}/addhost/${id}`,
|
||||
data: { amount },
|
||||
})
|
||||
|
||||
|
@ -401,7 +401,7 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
[PROVISION_ADD_HOST]: {
|
||||
path: `${basepath}/host/:id`,
|
||||
path: `${basepath}/addhost/:id`,
|
||||
httpMethod: PUT,
|
||||
auth: true,
|
||||
params: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user