From 8e3ae004cf658a18077df8f5c3354cf1cd98d65a Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Mon, 3 Feb 2025 09:58:35 +0700 Subject: [PATCH] feat: update article & category host for url --- app/module/articles/mapper/articles.mapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/module/articles/mapper/articles.mapper.go b/app/module/articles/mapper/articles.mapper.go index 3dc0b6b..c3cfcf8 100644 --- a/app/module/articles/mapper/articles.mapper.go +++ b/app/module/articles/mapper/articles.mapper.go @@ -46,7 +46,7 @@ func ArticlesResponseMapper( var articleFilesArr []*articleFilesResponse.ArticleFilesResponse if articleFiles != nil && len(articleFiles) > 0 { for _, result := range articleFiles { - articleFilesArr = append(articleFilesArr, articleFilesMapper.ArticleFilesResponseMapper(result)) + articleFilesArr = append(articleFilesArr, articleFilesMapper.ArticleFilesResponseMapper(result, host)) } }