API-11: User Data Endpoint (#6)

Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech>
Reviewed-on: #6
Co-authored-by: Patrick Müller <patrick@plutodev.de>
Co-committed-by: Patrick Müller <patrick@plutodev.de>
This commit was merged in pull request #6.
This commit is contained in:
2021-08-20 21:22:57 +00:00
parent b4f25c1831
commit 678bfc08ca
4 changed files with 129 additions and 12 deletions
@@ -14,8 +14,6 @@ loginRouter.post('/:isDevCall', async (req: Request, res: Response) => {
try {
let username: string = '';
let email: string = '';
let firstName: string = '';
let lastName: string = '';
let password: string = '';
let useDev: boolean = (req.params.isDevCall ?? '') === 'dev'; // TBD