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:
Adrien de Peretti
2025-06-12 17:55:49 +02:00
committed by GitHub
parent ea0b297b44
commit ab634a14ba
9 changed files with 94 additions and 25 deletions
@@ -218,7 +218,7 @@ export default class CustomerModuleService
populate: true,
})
return isString(idsOrSelector) ? serialized[0] : serialized
return serialized
}
// @ts-expect-error