Skip to content

Conversation

@janzenisaac
Copy link
Contributor

@janzenisaac janzenisaac commented Dec 12, 2025

This PR contains two improvements:

  1. Instead of needing a ton of logic to normalize / validate upload inputs in object site settings, we can pass the ID of the upload instead of the URL. This saves us extra conditionals and simplifies the code.
  2. The core standard for storing uploads in the DB is by ID. The uploads in object site settings were being stored as a path (string), this PR aligns with the core standard.

@janzenisaac janzenisaac merged commit 36a1589 into main Dec 15, 2025
16 checks passed
@janzenisaac janzenisaac deleted the pass-upload-id-from-object-site-setting branch December 15, 2025 15:01
janzenisaac added a commit that referenced this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants