feat : update agent 2
Some checks failed
Build and Push Docker Images / docker (push) Failing after 8s
Some checks failed
Build and Push Docker Images / docker (push) Failing after 8s
This commit is contained in:
@@ -90,3 +90,12 @@ export async function deleteVps(vpsId) {
|
||||
})
|
||||
return handleResponse(res)
|
||||
}
|
||||
|
||||
export async function composeUpdate(vpsId, project) {
|
||||
const res = await fetch(`${BASE}/vps/${vpsId}/compose/update`, {
|
||||
method: 'POST',
|
||||
headers: authHeaders(),
|
||||
body: JSON.stringify({ project }),
|
||||
})
|
||||
return handleResponse(res)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user