[MM-55734] Add Request Context to ChannelStore.SaveMember (#26039)
* added rctx to reuired files * added more file changes after issues on startup * added context to draft_store --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
@@ -432,7 +432,7 @@ func (th *SearchTestHelper) addUserToTeams(user *model.User, teamIDS []string) e
|
||||
|
||||
func (th *SearchTestHelper) addUserToChannels(user *model.User, channelIDS []string) error {
|
||||
for _, channelID := range channelIDS {
|
||||
_, err := th.Store.Channel().SaveMember(&model.ChannelMember{
|
||||
_, err := th.Store.Channel().SaveMember(th.Context, &model.ChannelMember{
|
||||
ChannelId: channelID,
|
||||
UserId: user.Id,
|
||||
NotifyProps: model.GetDefaultChannelNotifyProps(),
|
||||
|
||||
Ссылка в новой задаче
Block a user