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); } }