mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
fix /api/discord/cv
This commit is contained in:
parent
d728bc6dd2
commit
d78e70703d
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ from .api_user_list import ApiUserListStar
|
|||
from .api_user_get import ApiUserGetStar
|
||||
from .api_diario_list import ApiDiarioListStar
|
||||
from .api_diario_get import ApiDiarioGetStar
|
||||
# from .api_discord_cv import ApiDiscordCvStar
|
||||
from .api_discord_cv import ApiDiscordCvStar
|
||||
|
||||
# Enter the PageStars of your Pack here!
|
||||
available_page_stars = [
|
||||
|
@ -11,7 +11,7 @@ available_page_stars = [
|
|||
ApiUserGetStar,
|
||||
ApiDiarioListStar,
|
||||
ApiDiarioGetStar,
|
||||
# ApiDiscordCvStar,
|
||||
ApiDiscordCvStar,
|
||||
]
|
||||
|
||||
# Enter the ExceptionStars of your Pack here!
|
||||
|
|
|
@ -8,5 +8,5 @@ class ApiDiscordCvStar(PageStar):
|
|||
path = "/api/discord/cv"
|
||||
|
||||
async def page(self, request: Request) -> JSONResponse:
|
||||
response = await self.constellation.call_herald_event("discord", "discord_cv")
|
||||
response = await self.interface.call_herald_event("discord", "discord_cv")
|
||||
return JSONResponse(response)
|
||||
|
|
Loading…
Reference in a new issue