Fix form attachment type for "Computerantrag" form

This commit is contained in:
Yannik Rödel 2022-05-22 21:39:48 +02:00
parent d7ef3f06d9
commit 10be9637e7

View file

@ -165,7 +165,7 @@ match request_uri:
ticket_details["Adresse"] = get_form_value("addressline")
ticket_details["PLZ"] = get_form_value("postalcode")
ticket_details["Stadt"] = get_form_value("city")
attachment = get_form_value("document")
attachment = get_form_value("document", cast=bytes)
# Note: the actual form contains a checkbox for whether the user has
# read the guidelines, but we don't actually bother checking that here.