mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[PR #229] [MERGED] Pre-orders bug fixes #373
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/rudrankriyam/App-Store-Connect-CLI/pull/229
Author: @cursor[bot]
Created: 1/27/2026
Status: ✅ Merged
Merged: 1/27/2026
Merged by: @rudrankriyam
Base:
pr-199← Head:cursor/pre-orders-bug-fixes-dac1📝 Commits (1)
4c4f5fcFix pre-orders availability handling📊 Changes
4 files changed (+24 additions, -23 deletions)
View changed files
📝
cmd/offer_codes.go(+1 -10)📝
cmd/pre_orders.go(+9 -12)📝
cmd/pricing.go(+1 -1)📝
cmd/shared.go(+13 -0)📄 Description
Fixes a logic bug where a required flag's value was ignored, and refactors duplicated date normalization and error checking logic for improved code quality.
The
--available-in-new-territoriesflag was required but its value was not used in the API call, leading to a misleading user experience. This PR ensures the flag's value is correctly applied. Additionally, duplicated date parsing logic was consolidated into a shared helper, and redundant error checking conditions were removed from multiple call sites.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.