F #5593: fix add host provision (#1755)

(cherry picked from commit 3cdab7551f)
This commit is contained in:
Jorge Miguel Lobo Escalona authored and Tino Vazquez committed 2022-02-07 15:53:38 +01:00
1 parent e1585c6ef4
commit a6a488382e
2 files changed
+2 -2

No files matched your search

@@ -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: {