99. Creating user class (#12)

This commit is contained in:
Art
2021-09-12 11:55:10 +03:00
parent fa5c69952c
commit c28a787f00
3 changed files with 24 additions and 1 deletions

View File

@ -15,7 +15,8 @@ export class AuthenticationService {
}
public login(userDto: UserLogin): Observable<HttpResponse<any> | HttpErrorResponse> {
return this.httpClient.post<HttpResponse<any> | HttpErrorResponse>(`${this.host}/user/login`, userDto, {observe: 'response'});
return this.httpClient.post<HttpResponse<any> | HttpErrorResponse>
(`${this.host}/user/login`, userDto, {observe: 'response'});
}