diff --git a/royalpack/stars/__init__.py b/royalpack/stars/__init__.py index 161f9d48..cf2041b8 100644 --- a/royalpack/stars/__init__.py +++ b/royalpack/stars/__init__.py @@ -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! diff --git a/royalpack/stars/api_discord_cv.py b/royalpack/stars/api_discord_cv.py index 8b1e268e..b6b4e8ef 100644 --- a/royalpack/stars/api_discord_cv.py +++ b/royalpack/stars/api_discord_cv.py @@ -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)