u_id param not needed

This commit is contained in:
Joel Falknau 2024-12-28 13:41:39 +10:00
parent 9df76443b1
commit 168b023a72
No known key found for this signature in database

View File

@ -109,8 +109,7 @@ class DiscourseManager:
@staticmethod
def __update_user(username, **kwargs) -> None:
u_id = DiscourseManager.__user_name_to_id(username)
providers.discourse.client.update_user(username, u_id, **kwargs)
providers.discourse.client.update_user(username, **kwargs)
@staticmethod
def __create_user(username, email, password):