oneuptime/Probe/Utils/ProbeAPIRequest.ts
2023-10-09 19:04:39 +01:00

13 lines
341 B
TypeScript

import { JSONObject } from 'Common/Types/JSON';
import ProbeUtil from './Probe';
import { PROBE_KEY } from '../Config';
export default class ProbeAPIRequest {
public static getDefaultRequestBody(): JSONObject {
return {
probeKey: PROBE_KEY,
probeId: ProbeUtil.getProbeId().toString(),
};
}
}