Align GoChat with Chatwoot frontend contracts
This commit is contained in:
@@ -50,9 +50,11 @@ func (h *ArticleHandler) PublicList(c *gin.Context) {
|
||||
}
|
||||
|
||||
countParams := repository.ArticleSearchParams{
|
||||
PortalID: portal.ID,
|
||||
Locale: locale,
|
||||
Status: string(model.ArticleStatusPublished),
|
||||
PortalID: portal.ID,
|
||||
Query: query,
|
||||
CategorySlug: c.Param("category_slug"),
|
||||
Locale: locale,
|
||||
Status: string(model.ArticleStatusPublished),
|
||||
}
|
||||
articlesCount, err := h.svc.Count(c.Request.Context(), countParams)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user