Skip to content

Commit 797976a

Browse files
committed
docs(authentication): add missing parameter type
Fix error TS7006: Parameter implicitly has an 'any' type.
1 parent c825727 commit 797976a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/security/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export class AuthService {
135135
this.usersService = usersService;
136136
}
137137

138-
async signIn(username, pass) {
138+
async signIn(username: string, pass: string) {
139139
const user = await this.usersService.findOne(username);
140140
if (user?.password !== pass) {
141141
throw new UnauthorizedException();

0 commit comments

Comments
 (0)