Skip to content

Commit

Permalink
removed one res = {}
Browse files Browse the repository at this point in the history
  • Loading branch information
nruia-penn committed Nov 13, 2024
1 parent 86efd25 commit e396bfb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/courses/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ def get_all_friendships(self):

def post(self, request):
sender = request.user
res = {}

username = request.data.get("pennkey")
if not username:
Expand Down Expand Up @@ -563,7 +562,6 @@ def delete(self, request):
# (depends on who sends the request)

sender = request.user

res = {}

username = request.data.get("pennkey")
Expand Down

0 comments on commit e396bfb

Please sign in to comment.