remove remaining Global() calls (outside of tests) (#7521)
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
1bd66589a2
Коммит
8c80cdde38
@@ -49,7 +49,7 @@ func (a *App) CreateCommandPost(post *model.Post, teamId string, response *model
|
||||
return a.CreatePostMissingChannel(post, true)
|
||||
} else if response.ResponseType == "" || response.ResponseType == model.COMMAND_RESPONSE_TYPE_EPHEMERAL {
|
||||
post.ParentId = ""
|
||||
SendEphemeralPost(post.UserId, post)
|
||||
a.SendEphemeralPost(post.UserId, post)
|
||||
}
|
||||
|
||||
return post, nil
|
||||
|
||||
Ссылка в новой задаче
Block a user