load conversation from API instead of FakeData

This commit is contained in:
2026-06-07 20:21:04 +02:00
parent e4405c8b9d
commit 43ff936b24
6 changed files with 102 additions and 37 deletions
+2
View File
@@ -93,6 +93,8 @@ def get_sms_messages_by_local_phone_number():
return make_response(jsonify(msg=msg_403_not_primary), 403)
local_phone_number = request.args.get("local_phone_number", None)
# TODO set up access logging
#print(f"/api/v1/sms-messages - local_phone_number='{local_phone_number}'")
return make_response(jsonify([n.to_dict() for n in db.get_sms_messages_by_local_phone_number(cur, local_phone_number)]), 200)