mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Adjusted notify channel as well as form
This commit is contained in:
parent
d5d0c0a6e6
commit
722669660c
|
@ -88,7 +88,7 @@ class DomainManager:
|
||||||
json_object["domains"][name] = domain.json()
|
json_object["domains"][name] = domain.json()
|
||||||
for message in messagequeue._queue:
|
for message in messagequeue._queue:
|
||||||
json_object["queued_messages"].append({"metadata": str(message.discord_message.metadata), "url": message.wiki.script_url})
|
json_object["queued_messages"].append({"metadata": str(message.discord_message.metadata), "url": message.wiki.script_url})
|
||||||
await connection.execute("select pg_notify('webhookupdates', 'DEBUG RESPONSE ' || $1);", json.dumps(json_object))
|
await connection.execute("select pg_notify('debugresponse', $1);", json.dumps(json_object))
|
||||||
elif split_payload[1] == "RESPONSE":
|
elif split_payload[1] == "RESPONSE":
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue