Include extensions when building Create & Update activities
This commit is contained in:
@@ -43,6 +43,7 @@ func NewCreateActivity(o *Object) *Activity {
|
|||||||
BaseObject: BaseObject{
|
BaseObject: BaseObject{
|
||||||
Context: []interface{}{
|
Context: []interface{}{
|
||||||
Namespace,
|
Namespace,
|
||||||
|
Extensions,
|
||||||
},
|
},
|
||||||
ID: o.ID,
|
ID: o.ID,
|
||||||
Type: "Create",
|
Type: "Create",
|
||||||
@@ -61,6 +62,7 @@ func NewUpdateActivity(o *Object) *Activity {
|
|||||||
BaseObject: BaseObject{
|
BaseObject: BaseObject{
|
||||||
Context: []interface{}{
|
Context: []interface{}{
|
||||||
Namespace,
|
Namespace,
|
||||||
|
Extensions,
|
||||||
},
|
},
|
||||||
ID: o.ID,
|
ID: o.ID,
|
||||||
Type: "Update",
|
Type: "Update",
|
||||||
|
|||||||
Reference in New Issue
Block a user