fdaciuk/conduit-api

Empty Taglist doens't return any articles

Open

#42 ouverte le 11 janv. 2023

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)TypeScript (24 forks)github user discovery
buggood first issue

Métriques du dépôt

Stars
 (181 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur