Skip to content

fix(api): use configurable upload limit for author photo / book cover#783

Draft
imnotjames wants to merge 3 commits intogrimmory-tools:developfrom
imnotjames:fix/781/backend-cover-photo-upload-limit
Draft

fix(api): use configurable upload limit for author photo / book cover#783
imnotjames wants to merge 3 commits intogrimmory-tools:developfrom
imnotjames:fix/781/backend-cover-photo-upload-limit

Conversation

@imnotjames
Copy link
Copy Markdown
Contributor

@imnotjames imnotjames commented Apr 23, 2026

Description

Previously, the file upload limit for author photos and book covers defaulted to 5mb. However, some users (for some reason) want humongous book covers and requested to have this limit increased.

This change updates the author photo and book cover systems to use the server setting maxFileUploadSizeInMb to determine the expected maximum file size for an upload.

Linked Issue: Fixes #

Changes

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 23, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 86adb0a6-e932-431b-ba3c-4385d5cc46ab

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
✨ Simplify code
  • Create PR with simplified code

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant