Skip to content

Commit

Permalink
Merge branch 'master' of github.com:guardstrikelab/EvalAI
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-lei committed Apr 24, 2024
2 parents 492ebb6 + 14938d2 commit 0540ac5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/challenges/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4472,6 +4472,7 @@ def create_or_update_challenge(request, challenge_host_team_pk):
"request": request,
},
)

if not serializer.is_valid():
return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
serializer.save()
Expand Down

0 comments on commit 0540ac5

Please sign in to comment.