10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
import { apiClient } from '@services';
|
|
import { PromotionResponse } from '@interfaces';
|
|
|
|
export const fetchOffers = async (): Promise<PromotionResponse> => {
|
|
const response = await apiClient.get<PromotionResponse>(
|
|
'/promotions/customer/offers',
|
|
);
|
|
return response;
|
|
};
|