Skip to content

Commit

Permalink
Use booleans; provenance summary is not a user upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Jan 8, 2025
1 parent e7d9405 commit 44191e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perma_web/perma/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ def write_uploaded_file(self, uploaded_file, cache_break=False):
role='primary',
status='success',
record_type='resource',
user_upload='True',
user_upload=True,
content_type=mime_type,
url=warc_url
)
Expand All @@ -2004,7 +2004,7 @@ def write_uploaded_file(self, uploaded_file, cache_break=False):
role='provenance_summary',
status='success',
record_type='resource',
user_upload='True',
user_upload=False,
content_type='text/html',
url='file:///provenance-summary.html'
)
Expand Down

0 comments on commit 44191e7

Please sign in to comment.