mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-16 23:00:51 +00:00
12 lines
381 B
TypeScript
12 lines
381 B
TypeScript
import { JSONObject } from 'Common/Types/JSON';
|
|
import LocalCache from 'CommonServer/Infrastructure/LocalCache';
|
|
import { PROBE_KEY } from '../Config';
|
|
|
|
export default class ProbeAPIRequest {
|
|
public static getDefaultRequestBody(): JSONObject {
|
|
return {
|
|
probeKey: PROBE_KEY,
|
|
probeId: LocalCache.getString('PROBE', 'PROBE_ID'),
|
|
};
|
|
}
|
|
}
|