Properly fix metrics call, oops (!423)

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/423
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
This commit is contained in:
DrakiaXYZ 2024-11-03 23:26:03 +00:00 committed by chomp
parent aed26ffcd3
commit 78a3fcaca0

View File

@ -1,6 +1,7 @@
import { MatchCallbacks } from "@spt/callbacks/MatchCallbacks";
import { RouteAction, StaticRouter } from "@spt/di/Router";
import { IEmptyRequestData } from "@spt/models/eft/common/IEmptyRequestData";
import { IMetrics } from "@spt/models/eft/common/tables/IMatch";
import { IGetBodyResponseData } from "@spt/models/eft/httpResponse/IGetBodyResponseData";
import { INullResponseData } from "@spt/models/eft/httpResponse/INullResponseData";
import { IGroupCharacter } from "@spt/models/eft/match/IGroupCharacter";
@ -228,7 +229,7 @@ export class MatchStaticRouter extends StaticRouter {
info: any,
sessionID: string,
output: string,
): Promise<IGetBodyResponseData<string>> => {
): Promise<IGetBodyResponseData<IMetrics>> => {
return this.matchCallbacks.getMetrics(url, info, sessionID);
},
),