Skip to content

Comments

Updated allowed status for random post#392

Merged
PaulAdamDavis merged 1 commit intoTryGhost:mainfrom
mike182uk:fix-random-post-status
Nov 20, 2023
Merged

Updated allowed status for random post#392
PaulAdamDavis merged 1 commit intoTryGhost:mainfrom
mike182uk:fix-random-post-status

Conversation

@mike182uk
Copy link
Member

no refs

When using --status published with the random-post command an error was being thrown because published was not an allowed status. This commit updates the allowed statuses based on what the API allows.

no refs

When using `--status published` with the `random-post` command an error was being
thrown because `published` was not an allowed status. This commit updates the
allowed statuses based on what the API allows.
@mike182uk
Copy link
Member Author

cc @PaulAdamDavis

@PaulAdamDavis PaulAdamDavis merged commit fcf8847 into TryGhost:main Nov 20, 2023
@PaulAdamDavis
Copy link
Member

Good catch, thanks @mike182uk!

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