diff --git a/app/post.go b/app/post.go index 299c9ce3aba..d4649d64c58 100644 --- a/app/post.go +++ b/app/post.go @@ -869,6 +869,7 @@ func (a *App) DoPostAction(postId string, actionId string, userId string) *model request := &model.PostActionIntegrationRequest{ UserId: userId, + PostId: postId, Context: action.Integration.Context, } diff --git a/model/post.go b/model/post.go index 1dd0a4db68e..bec31aea7d7 100644 --- a/model/post.go +++ b/model/post.go @@ -121,6 +121,7 @@ type PostActionIntegration struct { type PostActionIntegrationRequest struct { UserId string `json:"user_id"` + PostId string `json:"post_id"` Context StringInterface `json:"context,omitempty"` }