Don't reutnr an error when discarding activity objects
This commit is contained in:
parent
37aacee9c6
commit
af6cab2e3f
2 changed files with 4 additions and 1 deletions
|
@ -111,7 +111,7 @@ class ActivityObject:
|
|||
and hasattr(model, "ignore_activity")
|
||||
and model.ignore_activity(self)
|
||||
):
|
||||
raise ActivitySerializerError()
|
||||
return None
|
||||
|
||||
# check for an existing instance
|
||||
instance = instance or model.find_existing(self.serialize())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue