Skip to content

Commit

Permalink
The request callback provided by bootstrapCrossSigning is async (#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
duxovni authored Jun 3, 2022
1 parent 518e16e commit e35ede0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ interface IInitOpts {

export interface IBootstrapCrossSigningOpts {
setupNewCrossSigning?: boolean;
authUploadDeviceSigningKeys?(makeRequest: (authData: any) => {}): Promise<void>;
authUploadDeviceSigningKeys?(makeRequest: (authData: any) => Promise<{}>): Promise<void>;
}

/* eslint-disable camelcase */
Expand Down

0 comments on commit e35ede0

Please sign in to comment.