Refactor set_record and delete_record functions to improve value checking and response handling

This commit is contained in:
2025-12-28 13:02:58 +01:00
parent dbf59fd124
commit 59f3d2377d

2
app.py
View File

@@ -98,4 +98,4 @@ def list_records(qname, rtype):
return jsonify(resp.json()) return jsonify(resp.json())
if __name__ == '__main__': if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=8080) app.run(host='0.0.0.0', port=8080)