Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IDOSO Mais
idoso-mais-backend
Commits
6ba637ff
Commit
6ba637ff
authored
2 years ago
by
Vitor Hugo
Browse files
Options
Download
Email Patches
Plain Diff
alterando chamada da rota e aglutinando user-auth model
parent
0a2e2ed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/api/auth/auth.controller.ts
+3
-4
src/api/auth/auth.controller.ts
with
3 additions
and
4 deletions
+3
-4
src/api/auth/auth.controller.ts
View file @
6ba637ff
...
...
@@ -6,10 +6,9 @@ import { Request, Controller, Post, UseGuards } from '@nestjs/common';
import
{
AuthService
}
from
'
./auth.service
'
;
import
{
IsPublic
}
from
'
./decorators/is-public.decorator
'
;
import
{
LocalAuthGuard
}
from
'
./guards/local-auth.guard
'
;
import
{
AuthRequest
}
from
'
./models/AuthRequest
'
;
import
{
UserToken
}
from
'
./models/UserToken
'
;
@
Controller
(
'
/login
'
)
import
{
UserToken
}
from
'
./models/user-auth
'
;
import
{
AuthRequest
}
from
'
./models/Auth-Request
'
;
@
Controller
(
'
/auth
'
)
export
class
AuthController
{
constructor
(
private
readonly
authService
:
AuthService
)
{}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help