mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
ui, agent: POST to eject cause client DELETE doesnt do bodys like a jerk
This commit is contained in:
committed by
Aiden McClelland
parent
90227c0606
commit
3ecfb4e4eb
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user