Commit 0ac7310b authored by Federico Sismondi's avatar Federico Sismondi

Fix() error in function call

parent b5f2f939
......@@ -10,7 +10,6 @@ import os
import json
import base64
import time
import unidecode
import dateutil.parser
import datetime
......@@ -315,6 +314,9 @@ def post_dca_carouge_watering_sensed_data_test():
@app.route('/dca-carouge-watering-sensed-data/rest/callback/payloads/ul', methods=['POST'])
def post_dca_carouge_watering_sensed_data_payload():
# log reading
_log_level_of_moisture(_get_reading(request.json['dataFrame']),request.json['deveui'],)
# forward reading to CTX BROKER
resp = {}
resp.update({"fs_dump": _dump_raw_data_to_filesystem()})
resp.update({"update_devices_entities": _forward_lora_dev_data_to_ctx_broker(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment