remove space between query and bracket

This commit is contained in:
DrakeTDL 2023-10-13 14:02:02 -07:00
parent 319be15c31
commit e5ec6565ec
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ const replaceLast = (str: string, pattern: string | RegExp, replacement: string)
const updateOperation: UpdateOperation = (
{ query, variables, fields, level, hasSubField, isUnion },
) => {
if (!query) query = `${fields[level]} {\n\t%${fields[level]}\n}`
if (!query) query = `${fields[level]} {\n\t%${fields[level]}\n}`
const convertedType: [string[], string[]] = [[], []]
if (variables) {
const variable = Object.entries(variables)