chore(api): fix overbooked property type hint

This commit is contained in:
jo 2022-07-19 18:34:56 +02:00 committed by Jonas L
parent 7e2f2d60f0
commit 33e5e8ada3
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ class Schedule(models.Model):
)
@property
def overbooked(self):
def overbooked(self) -> bool:
"""
A schedule item is overbooked if it starts after the end of the show
instance it is in.

View File

@ -6512,7 +6512,7 @@ components:
type: boolean
nullable: true
overbooked:
type: string
type: boolean
readOnly: true
PatchedServiceRegister:
type: object
@ -7403,7 +7403,7 @@ components:
type: boolean
nullable: true
overbooked:
type: string
type: boolean
readOnly: true
required:
- broadcasted