ui, agent: POST to eject cause client DELETE doesnt do bodys like a jerk

This commit is contained in:
Aaron Greenspan
2021-01-13 09:07:59 -07:00
committed by Aiden McClelland
parent 90227c0606
commit 3ecfb4e4eb
3 changed files with 10 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ export class LiveApiService extends ApiService {
}
async ejectExternalDisk (logicalName: string): Promise<Unit> {
return this.authRequest({ method: Method.DELETE, url: `/disks`, data: { logicalName } })
return this.authRequest({ method: Method.POST, url: `/disks`, data: { logicalName } })
}
async updateAgent (version: string): Promise<Unit> {