Fix: Add grpc in checkData
This commit is contained in:
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 });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user