Notify with post_data (full json)

This commit is contained in:
Nico Schottelius 2020-03-12 15:00:36 +01:00
parent 05be5f18d1
commit 478c0706ab

View file

@ -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)