|
|
|
@ -27,7 +27,7 @@ import { Configuration } from '../configurat |
|
|
|
|
@Injectable() |
|
|
|
|
export class CollaborateursService { |
|
|
|
|
|
|
|
|
|
protected basePath = 'http://localhost:3000/api'; |
|
|
|
|
protected basePath = 'https://localhost:44393/api'; |
|
|
|
|
public defaultHeaders = new HttpHeaders(); |
|
|
|
|
public configuration = new Configuration(); |
|
|
|
|
|
|
|
|
@ -142,7 +142,7 @@ export class CollaborateursService { |
|
|
|
|
const consumes: string[] = [ |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
return this.httpClient.request<CollaborateurDTO>('get',`${this.basePath}/collaborateurs/${encodeURIComponent(String(mail))}`, |
|
|
|
|
return this.httpClient.request<CollaborateurDTO>('get',`${this.basePath}/collaborateurs/${encodeURIComponent(String(mail))}/mail`, |
|
|
|
|
{ |
|
|
|
|
withCredentials: this.configuration.withCredentials, |
|
|
|
|
headers: headers, |
|
|
|
|