mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
fix: Update type casting for statusReport and probeMonitorResponse to 'any' for improved flexibility
This commit is contained in:
@@ -80,7 +80,7 @@ export default class Register {
|
||||
),
|
||||
{
|
||||
...ProbeAPIRequest.getDefaultRequestBody(),
|
||||
statusReport: stausReport as JSONObject,
|
||||
statusReport: stausReport as any,
|
||||
},
|
||||
{},
|
||||
{},
|
||||
|
||||
@@ -71,7 +71,7 @@ export default class MonitorUtil {
|
||||
),
|
||||
{
|
||||
...ProbeAPIRequest.getDefaultRequestBody(),
|
||||
probeMonitorResponse: result as JSONObject,
|
||||
probeMonitorResponse: result as any,
|
||||
},
|
||||
{},
|
||||
{},
|
||||
@@ -121,7 +121,7 @@ export default class MonitorUtil {
|
||||
),
|
||||
{
|
||||
...ProbeAPIRequest.getDefaultRequestBody(),
|
||||
probeMonitorResponse: result as JSONObject,
|
||||
probeMonitorResponse: result as any,
|
||||
},
|
||||
{},
|
||||
{},
|
||||
|
||||
Reference in New Issue
Block a user