Skip to content

Commit

Permalink
fix: (ty daniel) calling a property
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Ye <[email protected]>
  • Loading branch information
JasonLovesDoggo and Trentiumz committed Dec 10, 2023
1 parent 8936f36 commit 38f238a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/views/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def join(request):
return HttpResponseBadRequest(
"Invalid team invite code" + form.cleaned_data["code"]
)
if not team.is_full():
if not team.is_full:
team.join(request.user)
invite_code.invites += 1
invite_code.save()
Expand Down

0 comments on commit 38f238a

Please sign in to comment.