Skip to content

Commit d0f43ba

Browse files
committed
removed redundant modifiers in auth service
1 parent d9ee0b6 commit d0f43ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/features/auth/auth.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ import { SetAuthToken, ClearAuth } from '@core/store/auth';
99
providedIn: 'root',
1010
})
1111
export class AuthService {
12-
private readonly API_URL: string = 'VALID_API_URL';
13-
private readonly AUTH_TOKEN_KEY: string = '';
12+
private readonly API_URL = 'VALID_API_URL';
13+
private readonly AUTH_TOKEN_KEY = '';
1414

1515
private readonly http: HttpClient = inject(HttpClient);
1616
private readonly store: Store = inject(Store);
1717

1818
//TODO: rewrite/refactor methods according to the API
1919
async login(credentials: LoginCredentials): Promise<void> {
2020
try {
21-
const response: AuthResponse = await firstValueFrom(
21+
const response = await firstValueFrom(
2222
this.http.post<AuthResponse>(`${this.API_URL}/auth/login`, credentials),
2323
);
2424

0 commit comments

Comments
 (0)