Fixed build issues
This commit is contained in:
@@ -49,6 +49,10 @@ export const customersService = {
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
customerDetails: async (id: string) => {
|
||||
const response = await api.get(API_ENDPOINTS.CUSTOMERS.DETAILS(id));
|
||||
return response.data;
|
||||
},
|
||||
assignCompanyToCustomer: async ({
|
||||
credentials,
|
||||
id,
|
||||
|
||||
@@ -24,6 +24,6 @@ const TenderSchema = z.object({
|
||||
title: z.string(),
|
||||
});
|
||||
export const TendersResponse = z.object({
|
||||
companies: z.array(TenderSchema).or(z.null()),
|
||||
tenders: z.array(TenderSchema).or(z.null()),
|
||||
});
|
||||
export type TTenderResponse = z.infer<typeof TendersResponse>;
|
||||
|
||||
Reference in New Issue
Block a user