mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-16 23:00:51 +00:00
12 lines
341 B
TypeScript
12 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(),
|
|
};
|
|
}
|
|
}
|