From 8ac40e757aa4493a322ba05625351e204f768200 Mon Sep 17 00:00:00 2001 From: Anna Shamray Date: Tue, 12 Mar 2024 15:12:57 +0100 Subject: [PATCH] bug: [https://github.com/maykinmedia/django-setup-configuration/issues/1] fix selftest for the configurations step --- src/objects/config/demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objects/config/demo.py b/src/objects/config/demo.py index 3cb673a5..47643edc 100644 --- a/src/objects/config/demo.py +++ b/src/objects/config/demo.py @@ -52,7 +52,7 @@ def test_configuration(self): response = requests.get( full_url, headers={ - "HTTP_AUTHORIZATION": f"Token {settings.OBJECTS_OBJECTTYPES_TOKEN}", + "Authorization": f"Token {settings.DEMO_TOKEN}", "Accept": "application/json", }, )