From 02f2118dfc066905bfd8a7d974564acd60e997a8 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Tue, 16 May 2023 19:14:05 +0200 Subject: [PATCH] fix: format:all --- app/modules/bma/lib/controllers/wot.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/modules/bma/lib/controllers/wot.ts b/app/modules/bma/lib/controllers/wot.ts index 9651cb9f2..17e57ed83 100644 --- a/app/modules/bma/lib/controllers/wot.ts +++ b/app/modules/bma/lib/controllers/wot.ts @@ -135,12 +135,11 @@ export class WOTBinding extends AbstractController { let idty: FullIindexEntry; if (req.query.pubkey) { idty = (await this.server.dal.getWrittenIdtyByPubkeyForHashingAndIsMember( - search + search )) as FullIindexEntry; - } - else { + } else { idty = (await this.server.dal.getWrittenIdtyByPubkeyOrUIdForHashingAndIsMember( - search + search )) as FullIindexEntry; } const certs = await this.server.dal.certsToTarget( @@ -240,10 +239,9 @@ export class WOTBinding extends AbstractController { let idty: FullIindexEntry; if (req.query.pubkey) { idty = (await this.server.dal.getWrittenIdtyByPubkeyForHashingAndIsMember( - search + search )) as FullIindexEntry; - } - else { + } else { idty = (await this.server.dal.getWrittenIdtyByPubkeyOrUIdForHashingAndIsMember( search )) as FullIindexEntry; -- GitLab