Fixing webhooks description_diff

remotes/origin/issue/4795/notification_even_they_are_disabled
Alejandro Alonso 2016-07-22 09:32:00 +02:00
parent c68211250e
commit d31c7b21d7
1 changed files with 1 additions and 2 deletions

View File

@ -121,9 +121,8 @@ class HistoryDiffField(Field):
# taiga.projects.history.models.HistoryEntry.values_diff()
ret = {}
for key, val in value.items():
if key in ["attachments", "custom_attributes"]:
if key in ["attachments", "custom_attributes", "description_diff"]:
ret[key] = val
elif key == "points":
ret[key] = {k: {"from": v[0], "to": v[1]} for k, v in val.items()}