Dima il y a 1 an
Parent
commit
be0b90c234
2 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. BIN
      build/app/app
  2. 1 0
      internal/repositories/article.go

BIN
build/app/app


+ 1 - 0
internal/repositories/article.go

@@ -64,6 +64,7 @@ func (a articleRepository) GetAllPreview(ctx context.Context) ([]models.ArticleP
 func (a articleRepository) GetAll(ctx context.Context) ([]models.Article, error) {
 	var res []models.Article
 
+	// nolint
 	query, args, err := sq.Select("id", "url", "publish_time", "title", "image", "text", "preview_text", "meta_keywords", "meta_desc", "is_active").
 		From(articleTableName).
 		OrderBy("publish_time DESC").