mirror of
https://github.com/fergalmoran/dss.api.git
synced 2026-01-05 08:04:53 +00:00
Added date to create notification
This commit is contained in:
@@ -70,6 +70,7 @@ class Activity(BaseModel):
|
||||
notification.type = self.get_object_type()
|
||||
notification.target = self.get_object_slug()
|
||||
notification.target_desc = self.get_object_name()
|
||||
notification.date = self.date
|
||||
|
||||
if accept:
|
||||
notification.accepted_date = datetime.now()
|
||||
|
||||
Reference in New Issue
Block a user