feat(medusa): Apply query transformers to Collection and CustomerGroups (#1667)
This commit is contained in:
@@ -136,7 +136,7 @@ export function prepareRetrieveQuery<
|
||||
expandRelations = expand.split(",")
|
||||
}
|
||||
|
||||
let expandFields: (keyof TEntity)[] = []
|
||||
let expandFields: (keyof TEntity)[] | undefined = undefined
|
||||
if (fields) {
|
||||
expandFields = fields.split(",") as (keyof TEntity)[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user