Skip to content

Commit 69361d1

Browse files
Fix webhook_notification that seems broken since 0f045f3
See: 0f045f3#diff-b9399e1d3499066c5564f98a620e8881R688
1 parent 5f53187 commit 69361d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/projects/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,8 @@ def email_notification(version, build, email):
779779

780780

781781
def webhook_notification(version, build, hook_url):
782+
project = version.project
783+
782784
data = json.dumps({
783785
'name': project.name,
784786
'slug': project.slug,

0 commit comments

Comments
 (0)