diff --git a/readthedocs/oauth/utils.py b/readthedocs/oauth/utils.py index d585741c88d..e3a75ed7c65 100644 --- a/readthedocs/oauth/utils.py +++ b/readthedocs/oauth/utils.py @@ -55,7 +55,7 @@ def attach_webhook(project, request=None): request, _('No accounts available to set webhook on. ' 'Please connect your {network} account.'.format( - network=service.adapter().get_provider().name + network=service.adapter(request).get_provider().name )) ) return False