mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
Merge branch 'fix_discourse_usernames' into 'master'
Send usernames as string instead of array Closes #1149 See merge request allianceauth/allianceauth!1123
This commit is contained in:
commit
e9ed917888
@ -235,7 +235,7 @@ class DiscourseManager:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def __add_user_to_group(g_id, username):
|
def __add_user_to_group(g_id, username):
|
||||||
endpoint = ENDPOINTS['groups']['add_user']
|
endpoint = ENDPOINTS['groups']['add_user']
|
||||||
DiscourseManager.__exc(endpoint, g_id, usernames=[username])
|
DiscourseManager.__exc(endpoint, g_id, usernames=username)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __remove_user_from_group(g_id, username):
|
def __remove_user_from_group(g_id, username):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user