summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/post.go1
-rw-r--r--model/post.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/post.go b/app/post.go
index 299c9ce3a..d4649d64c 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 1dd0a4db6..bec31aea7 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"`
}