fdaciuk/conduit-api

Empty Taglist doens't return any articles

Open

#42 aberto em 11 de jan. de 2023

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (24 forks)github user discovery
buggood first issue

Métricas do repositório

Stars
 (181 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador