mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 06:21:36 +01:00
fix: cn/uid encoding
This commit is contained in:
@@ -75,7 +75,7 @@ def get_dispatch():
|
||||
dispatch_by_person[dobj.username] += "\n{}".format(dobj.message)
|
||||
dispatch_secrets.append(dobj.dispatch_secret)
|
||||
|
||||
response = [ { "person" : tupel[0], "message" : tupel[1], "method" : method, "uids" : dispatch_secrets }
|
||||
response = [ { "person" : str(tupel[0]), "message" : tupel[1], "method" : method, "uids" : dispatch_secrets }
|
||||
for tupel in dispatch_by_person.items() ]
|
||||
|
||||
return flask.jsonify(response)
|
||||
|
||||
Reference in New Issue
Block a user