Fix implicit index provided in mapping function (#2558)

This commit is contained in:
martmull 2023-11-17 14:51:22 +01:00 committed by GitHub
parent dea1555031
commit becd7c2ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ export const useGenerateFindOneCustomObjectQuery = ({
}){
id
${objectMetadataItem.fields
.map(mapFieldMetadataToGraphQLQuery)
.map((field) => mapFieldMetadataToGraphQLQuery(field))
.join('\n')}
}
}