Removing accidentally included debug log (#14310)

* Removing accidentally included debug log

* Regenerating the store layers
Этот коммит содержится в:
Jesús Espino
2020-04-20 14:37:11 +02:00
коммит произвёл GitHub
родитель 0d0ab51876
Коммит 0cb8d96be2

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

@@ -874,7 +874,6 @@ func (s *SqlPostStore) getRootPosts(channelId string, offset int, limit int, ski
} else {
fetchQuery = "SELECT * FROM Posts WHERE ChannelId = :ChannelId AND DeleteAt = 0 ORDER BY CreateAt DESC LIMIT :Limit OFFSET :Offset"
}
mlog.Debug(fetchQuery, mlog.Any("params", map[string]interface{}{"ChannelId": channelId, "Offset": offset, "Limit": limit}))
_, err := s.GetReplica().Select(&posts, fetchQuery, map[string]interface{}{"ChannelId": channelId, "Offset": offset, "Limit": limit})
if err != nil {
return nil, model.NewAppError("SqlPostStore.GetLinearPosts", "store.sql_post.get_root_posts.app_error", nil, "channelId="+channelId+err.Error(), http.StatusInternalServerError)