Skip to content

Commit

Permalink
Merge pull request #43 from mxmueller/#357-Implementierung
Browse files Browse the repository at this point in the history
PingAll-Route + valentin-mit-redis
  • Loading branch information
aronse1 authored Sep 6, 2024
2 parents 4ae117c + 711869c commit a0e3557
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/deployment/DataBaseAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def return_response(message, value, status_code):
def sendValentinToRedis():
data = request.json
redis_client.publish("valentin-logs",json.dumps(data))
return return_response("Erfolgreich gelogt", "Niiiice", 200)


@app.route('iot/api/ping', methods=['GET'])
Expand Down

0 comments on commit a0e3557

Please sign in to comment.