12 lines
437 B
TypeScript
12 lines
437 B
TypeScript
import { httpGetInterceptor, httpPostInterceptor } from "../http-config/http-interceptor-service";
|
|
|
|
export async function getMediaTrackingMonitoring(page: number, size: number) {
|
|
const url = `cekmedsos/monitoring/pagination?page=${page}&size=${size}`;
|
|
return httpGetInterceptor(url);
|
|
}
|
|
|
|
export async function sendMediaUploadToEmail(data: any) {
|
|
const url = "media/public/share-to-email";
|
|
return httpPostInterceptor(url, data);
|
|
}
|