chore: type as bool instead

not sure about this one
This commit is contained in:
NiceAesth 2024-02-23 15:21:21 +02:00
parent 2e82f1f040
commit ad48b9de97
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
from pydantic import Field
from typing import Literal, Union
from typing import Union
from pydantic import TypeAdapter
from pomice.models import BaseModel
@ -27,7 +27,7 @@ class ResumePayloadV3(BaseModel):
class ResumePayloadV4(BaseModel):
version: LavalinkVersion4Type
timeout: int
resuming: Literal[True] = True
resuming: bool = True
_ResumePayloadType = Union[ResumePayloadV3, ResumePayloadV4]