Fix objectMetadataId to objectRecordId incorrect naming (#2554)
Fix wrong var name
This commit is contained in:
@ -16,10 +16,10 @@ export const useGenerateFindOneCustomObjectQuery = ({
|
||||
}
|
||||
|
||||
return gql`
|
||||
query FindOne${objectMetadataItem.nameSingular}($objectMetadataId: UUID!) {
|
||||
query FindOne${objectMetadataItem.nameSingular}($objectRecordId: UUID!) {
|
||||
${objectMetadataItem.nameSingular}(filter: {
|
||||
id: {
|
||||
eq: $objectMetadataId
|
||||
eq: $objectRecordId
|
||||
}
|
||||
}){
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user