From 717a72e408d92b26521ba43e4c202225e40eb59e Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Mon, 26 Feb 2024 12:11:52 +0000 Subject: [PATCH] Add datafile to object creation (#12) --- app/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main.py b/app/main.py index 799e57b..14f3d65 100644 --- a/app/main.py +++ b/app/main.py @@ -60,6 +60,7 @@ def request_access(datafile_slug): u.contact = form.contact.data u.primary_use = form.primary_use.data u.additional_info = form.additional_info.data + u.datafile = datafile u.save() token = u.generate_token()