summaryrefslogtreecommitdiff
path: root/flaskapi.py
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-06-24 18:34:07 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-06-24 18:34:07 -0500
commit0b0c1978c4f7b57a240575de56b8e40d29c3c219 (patch)
tree4bc4c86175efc86f2a3564b78b6fa4ef05ed4407 /flaskapi.py
parent8fa092b81aa09239e15b44e2002c7d18d3f4244b (diff)
downloadimmich-frame-0b0c1978c4f7b57a240575de56b8e40d29c3c219.tar.xz
immich-frame-0b0c1978c4f7b57a240575de56b8e40d29c3c219.zip
live reload window display config
Diffstat (limited to 'flaskapi.py')
-rw-r--r--flaskapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/flaskapi.py b/flaskapi.py
index 2e2ced4..633eed2 100644
--- a/flaskapi.py
+++ b/flaskapi.py
@@ -32,7 +32,7 @@ def seek(increment):
@api.route("/albums/update", methods=["POST"])
def albums_update():
- return { "success": PixMan().update_config(album_list=request.json) }
+ return { "success": PixMan().update_config({ "album_list": request.json }) }
@api.route("/albums")
def albums_get():
@@ -78,7 +78,7 @@ def immich_redirect(path):
@api.route("/config/update", methods=["POST"])
def config_update():
- return { "success": PixMan().update_config(**request.json) }
+ return { "success": PixMan().update_config(request.json) }
@api.route("/config")
def config_get():