web/admin: fix linting

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-17 16:54:48 +02:00
parent ccafe7be4f
commit 8925afb089
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export class LDAPSyncStatusChart extends AKChart<LDAPSyncStats> {
const health = await api.sourcesLdapSyncStatusList({ const health = await api.sourcesLdapSyncStatusList({
slug: element.slug, slug: element.slug,
}); });
health.forEach(task => { health.forEach((task) => {
if (task.status !== StatusEnum.Successful) { if (task.status !== StatusEnum.Successful) {
failed += 1; failed += 1;
} }
@ -52,7 +52,7 @@ export class LDAPSyncStatusChart extends AKChart<LDAPSyncStats> {
} else { } else {
healthy += 1; healthy += 1;
} }
}) });
} catch { } catch {
unsynced += 1; unsynced += 1;
} }