Add PostId to PostActionIntegrationRequest (#9270)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
97d8470a36
Коммит
c2f2fda8a1
@@ -869,6 +869,7 @@ func (a *App) DoPostAction(postId string, actionId string, userId string) *model
|
|||||||
|
|
||||||
request := &model.PostActionIntegrationRequest{
|
request := &model.PostActionIntegrationRequest{
|
||||||
UserId: userId,
|
UserId: userId,
|
||||||
|
PostId: postId,
|
||||||
Context: action.Integration.Context,
|
Context: action.Integration.Context,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -121,6 +121,7 @@ type PostActionIntegration struct {
|
|||||||
|
|
||||||
type PostActionIntegrationRequest struct {
|
type PostActionIntegrationRequest struct {
|
||||||
UserId string `json:"user_id"`
|
UserId string `json:"user_id"`
|
||||||
|
PostId string `json:"post_id"`
|
||||||
Context StringInterface `json:"context,omitempty"`
|
Context StringInterface `json:"context,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user