[PR #72] [MERGED] fix(boosty): 🐛 make image dto width/height optional to avoid validati… #94

Closed
opened 2026-10-13 19:47:11 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/72
Author: @Glitchy-Sheep
Created: 9/25/2025
Status: ✅ Merged
Merged: 9/25/2025
Merged by: @Glitchy-Sheep

Base: dev ← Head: fix/boosty-client-image-models-fix


📝 Commits (2)

  • 15c33b3 fix(boosty): 🐛 make image dto width/height optional to avoid validation errors
  • e11e475 fix: 🐛 correct branching logic to stop search after downloading the specific post

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 boosty_downloader/src/application/use_cases/download_specific_post.py (+1 -0)
📝 boosty_downloader/src/infrastructure/boosty_api/models/post/post_data_types/post_data_image.py (+2 -2)

📄 Description

📝 Description

Make width and height in BoostyPostDataImageDTO optional to prevent validation errors with the latest Boosty API.
Also fixed the search logic so it stops after downloading a specific post.

🔄 Changelog

  • 🛠 Fixed: Image DTO validation errors
  • 🛠 Fixed: Search stopping after specific post

Closes #

✅ Checklist

  • Tested locally
  • Code style checks passed (make lint && make format)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Glitchy-Sheep/boosty-downloader/pull/72 **Author:** [@Glitchy-Sheep](https://github.com/Glitchy-Sheep) **Created:** 9/25/2025 **Status:** ✅ Merged **Merged:** 9/25/2025 **Merged by:** [@Glitchy-Sheep](https://github.com/Glitchy-Sheep) **Base:** `dev` ← **Head:** `fix/boosty-client-image-models-fix` --- ### 📝 Commits (2) - [`15c33b3`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/15c33b3a67742da5d1dbbfc11347c96bd8694f66) fix(boosty): 🐛 make image dto width/height optional to avoid validation errors - [`e11e475`](https://github.com/Glitchy-Sheep/boosty-downloader/commit/e11e475bba69eed5f8a47f7905b525950966cdc4) fix: :bug: correct branching logic to stop search after downloading the specific post ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `boosty_downloader/src/application/use_cases/download_specific_post.py` (+1 -0) 📝 `boosty_downloader/src/infrastructure/boosty_api/models/post/post_data_types/post_data_image.py` (+2 -2) </details> ### 📄 Description ## 📝 Description Make `width` and `height` in `BoostyPostDataImageDTO` optional to prevent validation errors with the latest Boosty API. Also fixed the search logic so it stops after downloading a specific post. ## 🔄 Changelog - **🛠 Fixed:** Image DTO validation errors - **🛠 Fixed:** Search stopping after specific post ## 🎯 Related Issue Closes #<issue-number> ## ✅ Checklist - [x] Tested locally - [x] Code style checks passed (`make lint && make format`) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 19:47:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Glitchy-Sheep/boosty-downloader#94
No description provided.