Revert "encode the SSH key passed to the API to handle special characters"

This reverts commit 4d089be162.
pull/60/head
Chris Veilleux 2021-08-17 19:23:54 -05:00
parent 4d089be162
commit ec8896f394
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export class DeviceService {
}
validateSshKey(sshKey: string): Observable<any> {
return this.http.get<Observable<any>>(sshKeyUrl, {params: {key: encodeURIComponent(sshKey)}});
return this.http.get<Observable<any>>(sshKeyUrl + '/' + sshKey);
}
getGeographies() {