mediahub-fe/service/detail/detail.ts

11 lines
281 B
TypeScript

import {
httpDeleteInterceptor,
httpGetInterceptor,
httpPostInterceptor,
} from "../http-config/http-interceptor-service";
export async function getDetail(slug: any, state: any) {
const url = `media/public?slug=${slug}&state=${state}`;
return httpGetInterceptor(url);
}