mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
13 lines
341 B
TypeScript
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(),
|
|
};
|
|
}
|
|
}
|