mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-11-06 02:40:58 +01:00
Fix loading a canceled discover tv show (#1709)
## Description #1614 added filtering by a TV production status. I pulled the enum values from a comment in Seerr's code which spelled it as `Cancelled`, but the actual API uses `Canceled`. This PR corrects the spelling. Also, since this value isn't actually used yet, I've removed it from `TvDetails` for now. ### Related issues Fixes #1703 ### Testing Emulator, filter by production status as canceled and open any result ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
c2aab06c0b
commit
39c030c1d5
4 changed files with 14 additions and 13 deletions
|
|
@ -1092,6 +1092,9 @@ components:
|
|||
example: 0
|
||||
description: Status of the request. 1 = PENDING APPROVAL, 2 = APPROVED, 3 = DECLINED
|
||||
readOnly: true
|
||||
TvShowStatus:
|
||||
type: string
|
||||
enum: ["Returning Series", "Planned", "In Production", "Ended", "Canceled", "Pilot"]
|
||||
TvDetails:
|
||||
type: object
|
||||
properties:
|
||||
|
|
@ -1197,9 +1200,6 @@ components:
|
|||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Season'
|
||||
status:
|
||||
type: string
|
||||
enum: ["Returning Series", "Planned", "In Production", "Ended", "Cancelled", "Pilot"]
|
||||
tagline:
|
||||
type: string
|
||||
type:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue