Bug fixes for uploading the files. I though the changes being made where not supposed to break legacy endpoints. Not sure what happened. Either way things are almost back to normal.
This commit is contained in:
@@ -200,8 +200,8 @@ def lookup_id_random_pop(
|
||||
if prefix == 'event_id_random_only': target_id_key = 'event_id_only'
|
||||
obj_data[target_id_key] = resolved_id
|
||||
|
||||
# Also set the short prefix version (e.g., obj_data['account'] = 1) for compatibility
|
||||
obj_data[f'{prefix if not prefix.endswith("_id_random_only") else prefix[:-15]+"_id_only"}'] = resolved_id
|
||||
# Removed the short prefix version (e.g., obj_data['account'] = 1)
|
||||
# as it causes 'Unknown column' errors in direct table inserts.
|
||||
|
||||
# Polymorphic links
|
||||
polymorphic = [
|
||||
|
||||
Reference in New Issue
Block a user