settings debug prints 3
This commit is contained in:
1 parent
3afcf8d9c0
commit
2e3e8d8514
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -163,7 +163,7 @@ def setting_detail(name: str):
|
|||||||
rows = view_settings([name])
|
rows = view_settings([name])
|
||||||
if not rows:
|
if not rows:
|
||||||
return jsonify({"error": "Setting not found"}), 404
|
return jsonify({"error": "Setting not found"}), 404
|
||||||
print(jsonify(rows[0]))
|
print(rows[0])
|
||||||
return jsonify(rows[0])
|
return jsonify(rows[0])
|
||||||
|
|
||||||
if request.method == "PUT":
|
if request.method == "PUT":
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ if ($rateOptionsSetting && isset($rateOptionsSetting['value'])) {
|
|||||||
if (is_array($parsed)) {
|
if (is_array($parsed)) {
|
||||||
$rateOptions = $parsed;
|
$rateOptions = $parsed;
|
||||||
}
|
}
|
||||||
|
echo "Rate options:".$parsed;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update form handling to process selected rates
|
// Update form handling to process selected rates
|
||||||
|
|||||||
Reference in new issue
Block a user