fix: lint errors and warnings

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Meier LukasandCopilot committed 2026-04-27 22:07:52 +02:00
1 parent 85c5bc45e5
commit 7dabc89ab6
15 files changed
+51 -48

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ export const createSessionAsync = async (
permissions: await getCurrentUserPermissionsAsync(db, user.id),
colorScheme: "dark",
},
} as Session;
};
};
export const createSessionCallback = (db: Database): NextAuthCallbackOf<"session"> => {
@@ -49,9 +49,6 @@ export class LdapClient {
.map(([key, value]) => [key, LdapClient.convertEntryPropertyToString(value)] as const)
.reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {} as Record<string, string>),
dn: LdapClient.getEntryDn(entry),
} as {
[key: string]: string;
dn: string;
};
});
}