|
@@ -22,7 +22,7 @@ import {
|
|
|
|
|
|
export default async function seedDemoData({ container }: ExecArgs) {
|
|
|
const logger = container.resolve(ContainerRegistrationKeys.LOGGER);
|
|
|
- const remoteLink = container.resolve(ContainerRegistrationKeys.REMOTE_LINK);
|
|
|
+ const link = container.resolve(ContainerRegistrationKeys.LINK);
|
|
|
const query = container.resolve(ContainerRegistrationKeys.QUERY);
|
|
|
const fulfillmentModuleService = container.resolve(Modules.FULFILLMENT);
|
|
|
const salesChannelModuleService = container.resolve(Modules.SALES_CHANNEL);
|
|
@@ -112,7 +112,7 @@ export default async function seedDemoData({ container }: ExecArgs) {
|
|
|
});
|
|
|
const stockLocation = stockLocationResult[0];
|
|
|
|
|
|
- await remoteLink.create({
|
|
|
+ await link.create({
|
|
|
[Modules.STOCK_LOCATION]: {
|
|
|
stock_location_id: stockLocation.id,
|
|
|
},
|
|
@@ -175,7 +175,7 @@ export default async function seedDemoData({ container }: ExecArgs) {
|
|
|
],
|
|
|
});
|
|
|
|
|
|
- await remoteLink.create({
|
|
|
+ await link.create({
|
|
|
[Modules.STOCK_LOCATION]: {
|
|
|
stock_location_id: stockLocation.id,
|
|
|
},
|