res.json(tickets); ) where tickets is the variable that holds the retrieved tickets). If any error happens