fdaciuk/conduit-api

Empty Taglist doens't return any articles

Open

#42 aperta il 11 gen 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (24 fork)github user discovery
buggood first issue

Metriche repository

Star
 (181 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor