mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
WebAPI: Require options in getProfile
This commit is contained in:
@@ -757,7 +757,7 @@ export type WebAPIType = {
|
||||
getMyKeys: () => Promise<number>;
|
||||
getProfile: (
|
||||
identifier: string,
|
||||
options?: {
|
||||
options: {
|
||||
profileKeyVersion?: string;
|
||||
profileKeyCredentialRequest?: string;
|
||||
}
|
||||
@@ -1307,7 +1307,7 @@ export function initialize({
|
||||
options: {
|
||||
profileKeyVersion?: string;
|
||||
profileKeyCredentialRequest?: string;
|
||||
} = {}
|
||||
}
|
||||
) {
|
||||
const { profileKeyVersion, profileKeyCredentialRequest } = options;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user