Mm 16623 fix all initialism errors in channels/app and channels/api4 dir (#25743)

* updated go mod and sum files

* fixed var-naming errors in channels/app and channels/api4 dir

* Revert "updated go mod and sum files"

This reverts commit 088dd00a848c2c31952c29f0a2a28a9fb47fc3f7.

* renamed a cost .
Этот коммит содержится в:
Matthew Straughn
2023-12-20 00:46:54 -05:00
коммит произвёл GitHub
родитель 293caec0c7
Коммит ebdc964161
14 изменённых файлов: 70 добавлений и 70 удалений

Просмотреть файл

@@ -79,7 +79,7 @@ func (cfg *AutoPostCreator) CreateRandomPost(c request.CTX) (*model.Post, error)
return cfg.CreateRandomPostNested(c, "")
}
func (cfg *AutoPostCreator) CreateRandomPostNested(c request.CTX, rootId string) (*model.Post, error) {
func (cfg *AutoPostCreator) CreateRandomPostNested(c request.CTX, rootID string) (*model.Post, error) {
var fileIDs []string
if cfg.HasImage {
var err error
@@ -99,7 +99,7 @@ func (cfg *AutoPostCreator) CreateRandomPostNested(c request.CTX, rootId string)
post := &model.Post{
ChannelId: cfg.channelid,
UserId: cfg.userid,
RootId: rootId,
RootId: rootID,
Message: postText,
FileIds: fileIDs,
}