getDetail: (resource: any, params: any) => { const data=new URLSearchParams(params) const url = `${PostgrestUrl}/rpc/${resource}?${data}`; return httpClient(url, { headers: new Headers({}), }).then(({ json }) => ({ data: json, })).catch((err) => { return err }) },