commit | c2872b7856c928c011cc9787825ddf0d516efbd7 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Thu Aug 05 10:19:56 2021 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 05 10:19:56 2021 +0200 |
tree | bfaac6cd669865bd473f281d1404f1a7c5b1adf4 | |
parent | 36e3fe57a40725e09af6245092bd9f911b1b40df [diff] |
Make serializable again
diff --git a/endpoints/all.py b/endpoints/all.py index 019b864..e7ade8c 100644 --- a/endpoints/all.py +++ b/endpoints/all.py
@@ -23,8 +23,8 @@ async def process(state: plugins.configuration.BlockyConfiguration, request, formdata: dict) -> dict: return { - "block_list": state.block_list, - "allow_list": state.allow_list, + "block_list": [x for x in state.block_list], + "allow_list": [x for x in state.allow_list], }