Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment URL method #5584

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Conversation

SchrodingersGat
Copy link
Member

Adds a method to the abstract Attachment class to provide a fully-qualified URL for the attachment.

  • If the attachment is a link to an external resource, simply return that
  • If the attachment is an uploaded file, return a fully qualified link to that file

@netlify
Copy link

netlify bot commented Sep 21, 2023

Deploy Preview for inventree canceled.

Name Link
🔨 Latest commit 94791ec
🔍 Latest deploy log https://app.netlify.com/sites/inventree/deploys/650bb73b820f2a000773d952

@SchrodingersGat SchrodingersGat added this to the 0.13.0 milestone Sep 21, 2023
@SchrodingersGat SchrodingersGat merged commit 6cde460 into inventree:master Sep 21, 2023
20 checks passed
@SchrodingersGat SchrodingersGat deleted the attachment-url branch September 21, 2023 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant