Skip to content

Commit

Permalink
Add datafile to object creation (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaldogsbody committed Feb 26, 2024
1 parent cf7beb0 commit 717a72e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 717a72e

Please sign in to comment.