Skip to content

Commit

Permalink
Must log with registration entry, not user entry.
Browse files Browse the repository at this point in the history
Oops..
  • Loading branch information
mhagander committed Nov 26, 2023
1 parent 8dce54d commit c5cd504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgresqleu/confreg/checkin.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def checkin_field_api(request, urlname, regtoken, fieldname, what):

with transaction.atomic():
reg = get_object_or_404(ConferenceRegistration, conference=conference, payconfirmedat__isnull=False, canceledat__isnull=True, publictoken=token)
reglog(reg, "Marked scanner field {}".format(fieldname), user)
reglog(reg, "Marked scanner field {}".format(fieldname), user.attendee)
reg.dynaprops[fieldname] = datetime_string(timezone.now())
reg.save(update_fields=['dynaprops'])
return _json_response({
Expand Down

0 comments on commit c5cd504

Please sign in to comment.