fdaciuk/conduit-api

Empty Taglist doens't return any articles

Open

#42 opened on 2023年1月11日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (24 forks)github user discovery
buggood first issue

Repository metrics

Stars
 (181 stars)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド