mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 21:25:06 +01:00
Wrong var init for unwatch address
This commit is contained in:
@@ -113,10 +113,10 @@ main() {
|
|||||||
# or
|
# or
|
||||||
# - id: the id returned by the watch
|
# - id: the id returned by the watch
|
||||||
|
|
||||||
local address
|
local address="null"
|
||||||
local unconfirmedCallbackURL
|
local unconfirmedCallbackURL="null"
|
||||||
local confirmedCallbackURL
|
local confirmedCallbackURL="null"
|
||||||
local watchid
|
local watchid="null"
|
||||||
|
|
||||||
# Let's make it work even for a GET request (equivalent to a POST with empty json object body)
|
# Let's make it work even for a GET request (equivalent to a POST with empty json object body)
|
||||||
if [ "$http_method" = "POST" ]; then
|
if [ "$http_method" = "POST" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user