chore(medusa): Typeorm upgrade to 0.3.11 (#3041)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const { Customer, Address, CustomerGroup } = require("@medusajs/medusa")
|
||||
|
||||
module.exports = async (connection, data = {}) => {
|
||||
const manager = connection.manager
|
||||
module.exports = async (dataSource, data = {}) => {
|
||||
const manager = dataSource.manager
|
||||
|
||||
const testAddr = await manager.create(Address, {
|
||||
id: "test-address",
|
||||
|
||||
Reference in New Issue
Block a user