1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

lint and aldo indent in a more traditional way

This commit is contained in:
David Baker
2020-03-26 16:12:11 +00:00
parent 7f5ac072e6
commit 8cdc635cad

View File

@@ -214,8 +214,9 @@ export class VerificationBase extends EventEmitter {
{ getCrossSigningKey: async (type) => {
console.debug("VerificationBase.done: requesting secret",
type, this.deviceId);
const { promise } =
client.requestSecret(`m.cross_signing.${type}`, [this.deviceId]);
const { promise } = client.requestSecret(
`m.cross_signing.${type}`, [this.deviceId],
);
const result = await promise;
const decoded = decodeBase64(result);
return Uint8Array.from(decoded);