Skip to content

Commit

Permalink
fix udnerscore
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 committed Jan 24, 2025
1 parent 913ed47 commit 0617614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/packages/data-portal/app/graphql/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export function getDatasetsFilter({
/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access, no-param-reassign, @typescript-eslint/no-unsafe-argument */
// TODO(bchu): Delete this after migration.
export function removeTypenames(object: any): void {
delete object?.__typename__
delete object?.__typename

for (const [value] of Object.entries(object)) {
if (typeof value === 'object' && !Array.isArray(value) && value !== null) {
Expand Down

0 comments on commit 0617614

Please sign in to comment.