Use the correct resource to serialize comments in the review_reply webhook
Review Request #7755 — Created Nov. 4, 2015 and submitted
Information | |
---|---|
david | |
Review Board | |
release-2.5.x | |
Reviewers | |
reviewboard | |
My fix for the review_reply_published webhook event fixed the main
serialization, but the comments were still using the wrong resources. This
change fixes those.
Ran unit tests.
Description | From | Last Updated |
---|---|---|
This and serialize_reply do the same thing, except on different resources. Can we refactor this to take the review_key (as … |
|
-
-
reviewboard/notifications/webhooks.py (Diff revision 1) This and
serialize_reply
do the same thing, except on different resources. Can we refactor this to take thereview_key
(as before), as well as the resource to use for serialization?