Skip to content

Commit

Permalink
fix user relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Lind committed Sep 12, 2024
1 parent b48fadd commit 7380923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submission/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def generate_link(request):

def submission_form(request, unique_url):
submission_link = get_object_or_404(SubmissionLink, unique_url=unique_url)
team_member_profile = get_object_or_404(TeamMember, user=submission_link.user)
team_member_profile = get_object_or_404(TeamMember, user=submission_link.admin_user)
if request.method == 'POST':
form = SubmissionForm(request.POST)
if form.is_valid():
Expand Down

0 comments on commit 7380923

Please sign in to comment.