Merge pull request #4376 from rooftopcellist/rm_label_3.7.1

Fix 500 on Label Removal for WFJT's [3.7.1]
This commit is contained in:
Christian Adams
2020-05-29 18:11:45 -04:00
committed by GitHub

View File

@@ -495,7 +495,7 @@ class NotificationAttachMixin(BaseAccess):
# due to this special case, we use symmetrical logic with attach permission
return self._can_attach(notification_template=sub_obj, resource_obj=obj)
return super(NotificationAttachMixin, self).can_unattach(
obj, sub_obj, relationship, relationship, data=data
obj, sub_obj, relationship, data=data
)