Skip to content

Commit

Permalink
chore: change logger to point to version 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogarim committed Oct 11, 2024
1 parent 0312e27 commit bd59574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/app/api/server/helpers/parseJsonQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function parseJsonQuery(api: PartialThis): Promise<{
let fields: Record<string, 0 | 1> | 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<string, 0 | 1>;

Object.entries(fields).forEach(([key, value]) => {
Expand Down

0 comments on commit bd59574

Please sign in to comment.