Skip to content

Commit

Permalink
Actually create the cassete
Browse files Browse the repository at this point in the history
  • Loading branch information
RulaKhaled committed Aug 12, 2024
1 parent 2c4cbb4 commit 2579317
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions service_auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import jwt
import requests
from django.http import HttpResponse
from django.shortcuts import redirect
from rest_framework.response import Response
from rest_framework.views import APIView
Expand Down Expand Up @@ -95,9 +96,7 @@ def get(self, request, format=None):
if error:
return error

return Response(
{"detail": "Error creating Codecov access token"}, status=400
)
return HttpResponse(message, content_type="application/json")

# redirect to slack app
team_id = user.team_id
Expand Down

0 comments on commit 2579317

Please sign in to comment.