Skip to content

Commit

Permalink
seed moun params fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soson committed Dec 19, 2023
1 parent 3803b50 commit 8b8de6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions prisma/seed.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async function getCreateDevicesArgs() {
port: port_number,
software: device_type,
softwareVersion: version,
mountParameters: JSON.stringify(JSON.parse(parsedTemplate(device))),
mountParameters: JSON.parse(parsedTemplate(device)),
source: 'IMPORTED',
};
});
Expand All @@ -95,7 +95,7 @@ async function importBlueprints() {
{
tenantId,
name: 'ios xr_5.3.*_22',
template: SAMPLE_BLUEPRINT_TEMPLATE,
template: JSON.stringify(JSON.parse(SAMPLE_BLUEPRINT_TEMPLATE)),
},
],
skipDuplicates: true,
Expand Down
2 changes: 1 addition & 1 deletion prisma/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function getCreateDevicesArgs(): Promise<Prisma.deviceCreateManyArgs> {
port: port_number,
software: device_type,
softwareVersion: version,
mountParameters: JSON.stringify(JSON.parse(parsedTemplate(device))),
mountParameters: JSON.parse(parsedTemplate(device)),
source: 'IMPORTED' as const,
};
});
Expand Down

0 comments on commit 8b8de6b

Please sign in to comment.