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

LITE-29286 Create upload list and retrieve endpoints #23

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

jonatrios
Copy link
Contributor

No description provided.

installation: dict = Depends(get_installation),
):
return [
map_to_upload_schema(upload) for upload in get_uploads_or_404(db, installation, feed_id)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[COD-C] why don't we return just an empty list in case the feed doesn't have any upload?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!, thanks for that!

maxipavlovic
maxipavlovic previously approved these changes Feb 9, 2024
@jonatrios jonatrios force-pushed the LITE-29286-create-upload-list-retrieve-endpoints branch from 909c74f to ec22943 Compare February 9, 2024 09:59
@akodelia akodelia merged commit 13b2ff3 into master Feb 9, 2024
4 checks passed
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.

3 participants