We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b760c32 commit 925becbCopy full SHA for 925becb
src/app/modules/customer-management/services/customer.service.ts
@@ -8,14 +8,14 @@ import { Observable } from 'rxjs';
8
providedIn: 'root',
9
})
10
export class CustomerService {
11
- baseUrl = `https://private-8c3d21-ts32.apiary-mock.com/customers`;
+ baseUrl = `${environment.timeTrackerApiUrl}/customers`;
12
13
constructor(private http: HttpClient) {}
14
15
createCustomer(customerData): Observable<any> {
16
const body = {
17
...customerData,
18
- tenant_id: '4225ab1e-1033-4a5f-8650-0dd4950f38c8',
+ tenant_id: sessionStorage.getItem('tenant_id'),
19
};
20
return this.http.post(this.baseUrl, body);
21
}
0 commit comments