chore(medusa): Typeorm upgrade to 0.3.11 (#3041)
This commit is contained in:
1 parent
8137061908
commit
121b42acfe
275 files changed
+4493
-4780
No files matched your search
@@ -240,7 +240,7 @@ export default class StockLocationService extends TransactionBaseService {
|
||||
const locationAddressRepo = manager.getRepository(StockLocationAddress)
|
||||
|
||||
const existingAddress = await locationAddressRepo.findOne({
|
||||
id: addressId,
|
||||
where: { id: addressId }
|
||||
})
|
||||
if (!existingAddress) {
|
||||
throw new MedusaError(
|
||||
|
||||
Reference in new issue
Block a user