Currently, the /api/cards endpoint returns documents instead of their proper projections. This is a temporary solution, because we need to decide which information the server should return for each flashcard, and also find the best way to map data fetched from the DB.
Currently, the
/api/cards
endpoint returns documents instead of their proper projections. This is a temporary solution, because we need to decide which information the server should return for each flashcard, and also find the best way to map data fetched from the DB.