Skip to content

Instantly share code, notes, and snippets.

@kusakawazeusu
Created September 25, 2019 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kusakawazeusu/7932fc72992dfb051ef02e57f492ea75 to your computer and use it in GitHub Desktop.
Save kusakawazeusu/7932fc72992dfb051ef02e57f492ea75 to your computer and use it in GitHub Desktop.
auth.route.ts v3
// src/routes/auth.route.ts
import {loginRequest} from "../requests/AuthRequest";
protected setRoutes() {
this.router.post('/login', loginRequest, this.authController.echo);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment