fdaciuk/conduit-api

Empty Taglist doens't return any articles

Open

#42 创建于 2023年1月11日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)TypeScript (24 fork)github user discovery
buggood first issue

仓库指标

Star
 (181 star)
PR 合并指标
 (PR 指标待抓取)

描述

Hello, i was using the API and i found an possible bug, when i doesn't pass an list of tags sometimes doesn't return any article on the api/articles route.

image

An possible to this is implement an condition like you already did in the the favoritedFilter function: image

With this, i was able to solve the problem.

Empty Tag returning all the articles.

image

With Tag return just the DACIOK BRABO article.

image

贡献者指南