mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
13 lines
317 B
TypeScript
13 lines
317 B
TypeScript
import { PROBE_KEY } from "../Config";
|
|
import ProbeUtil from "./Probe";
|
|
import { JSONObject } from "Common/Types/JSON";
|
|
|
|
export default class ProbeAPIRequest {
|
|
public static getDefaultRequestBody(): JSONObject {
|
|
return {
|
|
probeKey: PROBE_KEY,
|
|
probeId: ProbeUtil.getProbeId().toString(),
|
|
};
|
|
}
|
|
}
|