fix return type

This commit is contained in:
Alex Holliday committed 2026-03-20 11:00:30 -07:00
1 parent 6d2008e8d3
commit 2fb7516ca1
1 file changed
+2 -2
@@ -1,7 +1,7 @@
import type { Monitor, GeoCheck } from "@/types/index.js";
import type { GeoCheckResult, GeoContinent } from "@/types/geoCheck.js";
import { Types } from "mongoose";
import type { IGeoChecksRepository } from "@/repositories/index.js";
import type { FlatGeoChecksQueryResult, IGeoChecksRepository } from "@/repositories/index.js";
import type { IMonitorsRepository } from "@/repositories/index.js";
import type { IGlobalPingService } from "@/service/infrastructure/globalPingService.js";
import type { ILogger } from "@/utils/logger.js";
@@ -21,7 +21,7 @@ export interface IGeoChecksService {
page?: number;
rowsPerPage?: number;
continent: GeoContinent | GeoContinent[];
}): Promise<any>;
}): Promise<FlatGeoChecksQueryResult>;
}
export class GeoChecksService implements IGeoChecksService {