mediahub-fe/service/detail/detail.ts

11 lines
281 B
TypeScript
Raw Normal View History

2025-06-03 05:46:06 +00:00
import {
httpDeleteInterceptor,
httpGetInterceptor,
httpPostInterceptor,
} from "../http-config/http-interceptor-service";
2025-01-07 19:36:40 +00:00
2025-06-03 05:46:06 +00:00
export async function getDetail(slug: any, state: any) {
const url = `media/public?slug=${slug}&state=${state}`;
2025-01-07 19:36:40 +00:00
return httpGetInterceptor(url);
}