output fix
This commit is contained in:
parent
78c426cceb
commit
6d8d6ff1f2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import requests
|
||||||
def group_members(self, group_name):
|
def group_members(self, group_name):
|
||||||
try:
|
try:
|
||||||
result = fetch_group_members(group_name)
|
result = fetch_group_members(group_name)
|
||||||
return Response({'group_members': group_members, 'group_name': group_name, 'mxids': mxids})
|
return Response(result)
|
||||||
except KeyError as e:
|
except KeyError as e:
|
||||||
# Handle the case where the bug is not found
|
# Handle the case where the bug is not found
|
||||||
print(f"Group with name {group_name} was not found. Error: {e}")
|
print(f"Group with name {group_name} was not found. Error: {e}")
|
||||||
|
|
Loading…
Reference in a new issue