Created
June 1, 2020 18:07
-
-
Save kauemurakami/c2ec876e10d4fdb3458974bce971ebc8 to your computer and use it in GitHub Desktop.
recuperando todos os registros
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const getUsers = async (req: Request, res: Response) => { | |
res.status(200).send({ clients: await Client.all() }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment