File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def catalog():
21
21
@app .route ("/collections" )
22
22
def collections ():
23
23
headers = request .headers
24
- auth = headers .get ("API_HEADER_KEY " )
24
+ auth = headers .get ("APIHeaderKey " )
25
25
if auth == 'test_api_header_key' :
26
26
collections = DATA_PATH / "collections.json"
27
27
with collections .open () as fl :
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ def test_auth_collections_fetch(self):
55
55
cfg_id = self .set_auth_method (
56
56
"STAC_API_AUTH_TEST" ,
57
57
"APIHeader" ,
58
- {"API_HEADER_KEY " : "test_api_header_key" }
58
+ {"APIHeaderKey " : "test_api_header_key" }
59
59
)
60
60
61
61
api_client = Client (
@@ -78,7 +78,7 @@ def test_auth_collections_fetch(self):
78
78
cfg_id = self .set_auth_method (
79
79
"STAC_API_AUTH_TEST" ,
80
80
"APIHeader" ,
81
- {"API_HEADER_KEY " : "unauthorized_api_header_key" }
81
+ {"APIHeaderKey " : "unauthorized_api_header_key" }
82
82
)
83
83
84
84
api_client = Client (
You can’t perform that action at this time.
0 commit comments