From 5547bac1a0f5ac9c5685ced4d50611a10f63ab76 Mon Sep 17 00:00:00 2001 From: Francisco de la Vega Date: Tue, 31 Mar 2026 16:39:21 +0200 Subject: [PATCH] Use real contact-use path --- src/app/services/contactUs.service.ts | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/app/services/contactUs.service.ts b/src/app/services/contactUs.service.ts index 727dd952..068289bc 100644 --- a/src/app/services/contactUs.service.ts +++ b/src/app/services/contactUs.service.ts @@ -14,26 +14,10 @@ export interface ISendEmail { }) export class ContactUsService { protected BASE_URL = environment.BASE_URL; - private debug = true; constructor(private http: HttpClient) { } sendEmail(form: IContactUs): Observable { - if (this.debug) { - return of({ - form: { - firstName: "", - lastName: "", - email: "", - organization: "", - roleInOrganization: "", - message: "", - privacyAccepted: false, - marketingAccepted: false - } - }).pipe(delay(3000)); - } - - return this.http.post(`${this.BASE_URL}/to-do`, form); + return this.http.post(`${this.BASE_URL}/contact-us`, form); } }