mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-06-12 20:57:37 +02:00
fix: fix token revogation
This commit is contained in:
@ -43,4 +43,4 @@ class AnnouncementDeleted(BaseModel):
|
||||
BaseModel (pydantic.BaseModel): BaseModel from pydantic
|
||||
"""
|
||||
|
||||
deleted: bool
|
||||
deleted: bool
|
||||
|
@ -21,4 +21,3 @@ class ClientAuthModel(BaseModel):
|
||||
|
||||
id: str
|
||||
secret: str
|
||||
|
||||
|
@ -68,4 +68,4 @@ class MirrorAlreadyExistsError(BaseModel):
|
||||
"""
|
||||
|
||||
error: str = "Conflict"
|
||||
message: str = "A mirror already exists for the organization, repository, and version provided. Please use the PUT method to update the mirror."
|
||||
message: str = "A mirror already exists for the organization, repository, and version provided. Please use the PUT method to update the mirror."
|
||||
|
@ -49,4 +49,4 @@ class MirrorDeletedResponseModel(BaseModel):
|
||||
BaseModel (pydantic.BaseModel): BaseModel from pydantic
|
||||
"""
|
||||
deleted: bool
|
||||
key: str
|
||||
key: str
|
||||
|
@ -74,4 +74,4 @@ class ChangelogsResponseFields(BaseModel):
|
||||
sha: str
|
||||
author: str
|
||||
message: str
|
||||
html_url: str
|
||||
html_url: str
|
||||
|
@ -97,4 +97,13 @@ class ChangelogsResponseModel(BaseModel):
|
||||
|
||||
repository: str
|
||||
path: str
|
||||
commits: list[ ResponseFields.ChangelogsResponseFields ]
|
||||
commits: list[ ResponseFields.ChangelogsResponseFields ]
|
||||
|
||||
class RevokedTokenResponse(BaseModel):
|
||||
"""Implements the response fields for token invalidation.
|
||||
|
||||
Args:
|
||||
BaseModel (pydantic.BaseModel): BaseModel from pydantic
|
||||
"""
|
||||
|
||||
revoked: bool
|
||||
|
Reference in New Issue
Block a user