MM-22783: Fix scopelint issues (#13969)
* Fix scopelint issues * Incorporating review comments * Keeping the order of linters alphabetical * Fix issues after merge Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4ac0619c90
Коммит
c8b60c2d75
@@ -1557,6 +1557,7 @@ func (a *App) GetChannelMembersForUserWithPagination(teamId, userId string, page
|
||||
members := make([]*model.ChannelMember, 0)
|
||||
if m != nil {
|
||||
for _, member := range *m {
|
||||
member := member
|
||||
members = append(members, &member)
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user