Notify with post_data (full json)
This commit is contained in:
parent
05be5f18d1
commit
478c0706ab
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# And insert into the db
|
# And insert into the db
|
||||||
lorautil.db_insert_json("ttn", post_data, payload, deveui)
|
lorautil.db_insert_json("ttn", post_data, payload, deveui)
|
||||||
lorautil.db_notify("ttn", payload, deveui)
|
lorautil.db_notify("ttn", post_data, deveui)
|
||||||
|
|
||||||
def payload_hex(self, data):
|
def payload_hex(self, data):
|
||||||
mydict = lorautil.jsonToDict(data)
|
mydict = lorautil.jsonToDict(data)
|
||||||
|
|
Loading…
Reference in a new issue