mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 07:10:02 +00:00
remove dependency on redis json
This commit is contained in:
@@ -198,7 +198,7 @@ class CookieView(ApiBaseView):
|
||||
"""handle get request"""
|
||||
# pylint: disable=unused-argument
|
||||
config = AppConfig().config
|
||||
valid = RedisArchivist().get_message("cookie:valid")
|
||||
valid = RedisArchivist().get_message_dict("cookie:valid")
|
||||
response = {"cookie_enabled": config["downloads"]["cookie_import"]}
|
||||
response.update(valid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user