Skip to content

Commit

Permalink
Merge pull request #17 from hubmapconsortium/dependabot/pip/certifi-2…
Browse files Browse the repository at this point in the history
…023.7.22

Bump certifi from 2022.12.7 to 2023.7.22
  • Loading branch information
jpuerto-psc authored Aug 17, 2023
2 parents 6626225 + d64c0f9 commit 96e3899
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ asgiref==3.6.0
async-timeout==4.0.2
attrs==22.2.0
black==23.1a1
certifi==2022.12.7
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==2.1.1
click==8.1.3
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ asgiref==3.6.0
async-timeout==4.0.2
attrs==22.2.0
black==23.1a1
certifi==2022.12.7
certifi==2023.7.22
cffi==1.15.1
charset-normalizer==2.1.1
click==8.1.3
Expand Down
4 changes: 2 additions & 2 deletions src/user_templates_api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def post(self, request, template_type, template_name=""):

group_token = auth_helper.getAuthorizationTokens(request.headers)

if type(group_token) != str:
if group_token is not str:
response = HttpResponse("Invalid token")
response.status_code = 401
return response
Expand Down Expand Up @@ -159,7 +159,7 @@ def post(self, request, template_type, template_format):

group_token = auth_helper.getAuthorizationTokens(request.headers)

if type(group_token) != str:
if group_token is not str:
response = HttpResponse("Invalid token")
response.status_code = 401
return response
Expand Down

0 comments on commit 96e3899

Please sign in to comment.