Files
getgreen.uz/src/shared/api/policySvc.ts
2026-04-15 11:19:45 +00:00

10 lines
236 B
TypeScript

import {GET} from "@/shared/api/apiClient";
import {PAGE_POLICY} from "@/shared/constants";
export const getPolicy = async ()=>{
const {data} = await GET<{data: {
name: string
body: string
}}>(PAGE_POLICY)
return data
}