Add PostId to PostActionIntegrationRequest (#9270)

This commit is contained in:
Hanzei
2018-08-18 08:35:32 -04:00
committed by Joram Wilander
parent 97d8470a36
commit c2f2fda8a1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,
}
+1
View File
@@ -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"`
}