From 897f21b15cf2612b6c398a09a74642d890ae7e87 Mon Sep 17 00:00:00 2001 From: Alexander Ungefug <82446024+AlexanderUngefug@users.noreply.github.com> Date: Sun, 15 Dec 2024 12:02:17 +0100 Subject: [PATCH] fixing coverage --- src/core/ldap/domain/ldap-client.service.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/ldap/domain/ldap-client.service.ts b/src/core/ldap/domain/ldap-client.service.ts index e1cfa5c5f..82d968cbc 100644 --- a/src/core/ldap/domain/ldap-client.service.ts +++ b/src/core/ldap/domain/ldap-client.service.ts @@ -666,10 +666,7 @@ export class LdapClientService { if (typeof entry === 'string') { return entry === lehrerUid; } - if (Buffer.isBuffer(entry)) { - return entry.toString() === lehrerUid; - } - return false; + return entry.toString() === lehrerUid; }); }