diff --git a/src/gql/utils/consts.ts b/src/gql/utils/consts.ts index 264101d2..80bd2746 100644 --- a/src/gql/utils/consts.ts +++ b/src/gql/utils/consts.ts @@ -112,9 +112,7 @@ export const convertObjectToPropertiesString = ( .map( (item) => `${key} { - ${Object.keys(item) - .map((k) => `${k}`) - .join("\n")} + ${convertObjectToPropertiesString(item as IterableDictionary)} }` ) .join("\n")