From bd59574449dc3adeb17a6e0c78a86b078c96893e Mon Sep 17 00:00:00 2001 From: Ricardo Garim Date: Fri, 11 Oct 2024 14:48:37 -0300 Subject: [PATCH] chore: change logger to point to version 8 --- apps/meteor/app/api/server/helpers/parseJsonQuery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/api/server/helpers/parseJsonQuery.ts b/apps/meteor/app/api/server/helpers/parseJsonQuery.ts index 6ec08ea10777f..9c088c8f31e1f 100644 --- a/apps/meteor/app/api/server/helpers/parseJsonQuery.ts +++ b/apps/meteor/app/api/server/helpers/parseJsonQuery.ts @@ -62,7 +62,7 @@ export async function parseJsonQuery(api: PartialThis): Promise<{ let fields: Record | undefined; if (params.fields && (isUnsafeQueryParamsAllowed || !hasSupportedRoutes)) { try { - apiDeprecationLogger.parameter(route, 'fields', '7.0.0', response); + apiDeprecationLogger.parameter(route, 'fields', '8.0.0', response, messageGenerator); fields = JSON.parse(params.fields) as Record; Object.entries(fields).forEach(([key, value]) => {