From ac04553d67699c12bbae7e5b8a1cc01ac222b91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20H=C3=B6nig?= Date: Wed, 23 May 2018 16:12:44 +0200 Subject: [PATCH] outgoing_webhook.py: Fix incorrect variable type. --- zerver/lib/outgoing_webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/outgoing_webhook.py b/zerver/lib/outgoing_webhook.py index c9eb57ff8e..6cd20286bf 100644 --- a/zerver/lib/outgoing_webhook.py +++ b/zerver/lib/outgoing_webhook.py @@ -25,7 +25,7 @@ class OutgoingWebhookServiceInterface: def __init__(self, base_url: str, token: str, user_profile: UserProfile, service_name: str) -> None: self.base_url = base_url # type: str self.token = token # type: str - self.user_profile = user_profile # type: str + self.user_profile = user_profile # type: UserProfile self.service_name = service_name # type: str # Given an event that triggers an outgoing webhook operation, returns: