Add missing unbind
All checks were successful
CI / Test and lint (push) Successful in 24s

This commit is contained in:
2025-05-21 16:34:12 +04:00
parent 994053e080
commit 91eff4ad07

View File

@@ -49,6 +49,8 @@ export async function lookupUsernameByPubkey(pubkey: string): Promise<string | u
if (searchEntries.length > 0) { if (searchEntries.length > 0) {
username = searchEntries[0].cn.toString(); username = searchEntries[0].cn.toString();
} }
await client.unbind();
} catch (e) { } catch (e) {
await client.unbind(); await client.unbind();
throw e; throw e;