Fix: Add grpc in checkData

This commit is contained in:
Br0wnHammer committed 2026-02-23 10:25:00 +05:30
1 parent 42e7bc1dbf
commit 22b33d789c
2 files changed
+5 -2

No files matched your search

@@ -218,7 +218,8 @@ export class MonitorService implements IMonitorService {
checksData.monitorType !== "ping" &&
checksData.monitorType !== "docker" &&
checksData.monitorType !== "port" &&
checksData.monitorType !== "game"
checksData.monitorType !== "game" &&
checksData.monitorType !== "grpc"
) {
throw new AppError({ message: `${monitor.type} monitors are not supported for uptime details`, status: 400 });
}