Working on file uploads and event files.

This commit is contained in:
Scott Idem
2021-10-06 23:01:56 -04:00
parent 4f6d065990
commit ec401056b2
6 changed files with 114 additions and 150 deletions

View File

@@ -234,7 +234,7 @@ def create_hosted_file_link(
hosted_file_link_data['link_to_type'] = link_to_type # Should this be renamed to "link_to_type" for clarity?
hosted_file_link_data['link_to_id'] = link_to_id # Should this be renamed to "link_to_id" for clarity?
hosted_file_link_data['test'] = 'test'
# hosted_file_link_data['test'] = 'test'
# NOTE: Currently sql_insert does not handle all successful inserts correctly. If there is not an autonum ID then it will return 0 as the ID.
if hosted_file_link_data_in_result := sql_insert(data=hosted_file_link_data, table_name='hosted_file_link', id_random_length=0):