99. Creating user class (#12)
This commit is contained in:
@ -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'});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user