mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-10 23:55:16 -08:00
Add ZMQ-PUB support for webhooks (#75)
This commit is contained in:
committed by
Lee *!* Clagett
parent
d59fed6da2
commit
15e2be618a
@@ -2192,6 +2192,7 @@ namespace db
|
||||
|
||||
expect<void> storage::add_webhook(const webhook_type type, const account_address& address, const webhook_value& event)
|
||||
{
|
||||
if (event.second.url != "zmq")
|
||||
{
|
||||
epee::net_utils::http::url_content url{};
|
||||
if (event.second.url.empty() || !epee::net_utils::parse_url(event.second.url, url))
|
||||
|
||||
Reference in New Issue
Block a user