diff --git a/buzon/app.py b/buzon/app.py index 4519cc0..b8dfeb0 100644 --- a/buzon/app.py +++ b/buzon/app.py @@ -17,7 +17,7 @@ import fastapi from paho.mqtt.client import Client # internal -from buzon.config import Configuration, Responder, EventPush +from buzon.config import Configuration, Responder, EventPush, EventFork, EventIssue from buzon.util import loader, processor # basic vars and calls @@ -108,7 +108,7 @@ async def push_event(event_data: EventPush): response_model=Responder, responses={201: {'model': Responder}, 400: {'model': Responder}} ) -async def fork_event(event_data: EventPush): +async def fork_event(event_data: EventFork): """ Fork events for repositories @@ -132,7 +132,7 @@ async def fork_event(event_data: EventPush): response_model=Responder, responses={201: {'model': Responder}, 400: {'model': Responder}} ) -async def issue_event(event_data: EventPush): +async def issue_event(event_data: EventIssue): """ Issues event for repositories that have issue activity