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

fix: allow to upload img #694

Merged
merged 1 commit into from
Jan 17, 2025
Merged

fix: allow to upload img #694

merged 1 commit into from
Jan 17, 2025

Conversation

xingwanying
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 4:30am

Copy link

Walkthrough

This pull request introduces a new endpoint to the server's AWS router, allowing users to upload images. The endpoint accepts an image file, along with optional title and description metadata, and uploads the image to an S3 bucket.

Changes

File Summary
server/aws/router.py Added a new POST endpoint /upload for image uploads, which processes image files and metadata, and uploads them to S3. Removed unused user dependency.

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
server/aws/router.py 92.85% <100.00%> (ø)

@RaoHai RaoHai merged commit 19d7ecd into main Jan 17, 2025
5 checks passed
@RaoHai RaoHai deleted the fix_upload branch January 17, 2025 04:39
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.

2 participants