minor: Request parameter should be of type HttpRequest.

This commit is contained in:
neiljp (Neil Pilgrim) 2018-03-14 16:46:23 +00:00 committed by Tim Abbott
parent 80a7c16baf
commit 31dce7c87c
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ EVENT_FUNCTION_MAPPER = {
@api_key_only_webhook_view('GitHub')
@has_request_variables
def api_github_webhook(
request: HttpResponse, user_profile: UserProfile, payload: Dict[str, Any]=REQ(argument_type='body'),
request: HttpRequest, user_profile: UserProfile, payload: Dict[str, Any]=REQ(argument_type='body'),
stream: Text=REQ(default='github'), branches: Text=REQ(default=None)) -> HttpResponse:
event = get_event(request, payload, branches)
if event is not None: