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