aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-04-19 03:18:38 +0100
committerGravatar GitHub <[email protected]>2025-04-19 03:18:38 +0100
commit259e64a802dbb8f647afd457269f802a4766e03b (patch)
treef867ce62849b993dec1ead8b0498e809a9a166ea
parentAdd palceholders for when stdout or stderr are empty (diff)
Missing awaiting of sync coroutine
-rw-r--r--arthur/exts/directory/ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/exts/directory/ldap.py b/arthur/exts/directory/ldap.py
index edf5f1a..4b41baf 100644
--- a/arthur/exts/directory/ldap.py
+++ b/arthur/exts/directory/ldap.py
@@ -224,7 +224,7 @@ class LDAP(commands.Cog):
after_roles = {role.id for role in after.roles}
if LDAP_BASE_STAFF_ROLE in before_roles or LDAP_BASE_STAFF_ROLE in after_roles:
- self.sync_users()
+ await self.sync_users()
async def bootstrap(self, user: discord.Member) -> tuple[BootstrapType, str, str | None]:
"""Bootstrap a user into the LDAP directory, either creating or resetting the password."""