fix(utils): medusa internal service returned data should match typings (#12715)
FIXES SUP-1824 **What** The medusa internal service update should always return the data in the expected shape described by the interface. The medusa service should not have to handle the reshapre
This commit is contained in:
@@ -218,7 +218,7 @@ export default class CustomerModuleService
|
||||
populate: true,
|
||||
})
|
||||
|
||||
return isString(idsOrSelector) ? serialized[0] : serialized
|
||||
return serialized
|
||||
}
|
||||
|
||||
// @ts-expect-error
|
||||
|
||||
Reference in New Issue
Block a user