mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
ui: encodeURIComponent > encodeURI
This commit is contained in:
committed by
Aiden McClelland
parent
e2a1ac7033
commit
b9a3a0cb8d
@@ -63,7 +63,7 @@ export class LiveApiService extends ApiService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async ejectExternalDisk (logicalName: string): Promise<Unit> {
|
async ejectExternalDisk (logicalName: string): Promise<Unit> {
|
||||||
return this.authRequest({ method: Method.DELETE, url: `/disks?logicalName=${encodeURI(logicalName)}` })
|
return this.authRequest({ method: Method.DELETE, url: `/disks?logicalName=${encodeURIComponent(logicalName)}` })
|
||||||
}
|
}
|
||||||
|
|
||||||
async updateAgent (version: string): Promise<Unit> {
|
async updateAgent (version: string): Promise<Unit> {
|
||||||
|
|||||||
Reference in New Issue
Block a user