diff --git a/perma_web/perma/models.py b/perma_web/perma/models.py index 2f382c3a3..4ffebbb1d 100755 --- a/perma_web/perma/models.py +++ b/perma_web/perma/models.py @@ -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 ) @@ -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' )