Skip to content

Commit e2cb416

Browse files
committed
add response and request parameters
1 parent e620c97 commit e2cb416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/useCases/authentication/UserAuthenticationController.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class UserAuthenticationController{
1212
const {email,password} = request.body;
1313

1414
try{
15-
await this.userAuthentication.execute({email:email,password:password});
15+
await this.userAuthentication.execute({email:email,password:password},response,request);
1616
return response.status(200).json("logged with successfull");
1717

1818
} catch(error){

0 commit comments

Comments
 (0)