Skip to content

Commit

Permalink
fix(buddy-system): take without faculty
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 11, 2023
1 parent b852864 commit 5fb98b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fiesta/apps/buddy_system/views/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def post(self, request, pk: uuid.UUID):
match = BuddyRequestMatch(
request=br,
matcher=self.request.user,
# not null since enabling buddy system requires a faculty
matcher_faculty=self.request.user.profile.faculty,
note=self.request.POST.get("note") or "",
)

Expand Down

0 comments on commit 5fb98b2

Please sign in to comment.