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

This commit is contained in:
Jorge Miguel Lobo Escalona authored and GitHub committed 2022-02-07 15:53:16 +01:00
1 parent 9ffabb7d3a
commit 3cdab7551f
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: {