Skip to content

Commit c3b9d68

Browse files
authored
fix(rsc): change http auth 'key' to 'Key' (#179)
1 parent 506bcc5 commit c3b9d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pins/rsconnect/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _get_headers(self):
180180
api_key = self._get_api_key()
181181
rsc_xsrf = self.session.cookies.get("RSC-XSRF")
182182

183-
d_key = {"Authorization": f"key {api_key}"} if api_key is not None else {}
183+
d_key = {"Authorization": f"Key {api_key}"} if api_key is not None else {}
184184
d_rsc = {"X-RSC-XSRF": rsc_xsrf} if rsc_xsrf is not None else {}
185185

186186
return {**d_key, **d_rsc}

0 commit comments

Comments
 (0)