mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
[SM-288] Rename requests and responses to follow naming convention (#3806)
This commit is contained in:
12
libs/common/src/models/response/keys.response.ts
Normal file
12
libs/common/src/models/response/keys.response.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { BaseResponse } from "./base.response";
|
||||
|
||||
export class KeysResponse extends BaseResponse {
|
||||
privateKey: string;
|
||||
publicKey: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
this.privateKey = this.getResponseProperty("PrivateKey");
|
||||
this.publicKey = this.getResponseProperty("PublicKey");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user