From c2f2fda8a19b22453c99d832cca6eaad48a1b964 Mon Sep 17 00:00:00 2001 From: Hanzei Date: Sat, 18 Aug 2018 14:35:32 +0200 Subject: Add PostId to PostActionIntegrationRequest (#9270) --- app/post.go | 1 + model/post.go | 1 + 2 files changed, 2 insertions(+) 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"` } -- cgit v1.2.3-1-g7c22