Skip to content

Commit

Permalink
csv import fix (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
soson authored Mar 14, 2024
1 parent 26852e7 commit 19a9abe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/schema/device.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,7 @@ export const CSVImportMutation = extendType({
port: dev.port_number,
software: dev.device_type,
softwareVersion: dev.version,
// we do this to remove whitespace
mountParameters: JSON.stringify(JSON.parse(parsedTemplate(dev))),
mountParameters: JSON.parse(parsedTemplate(dev)),
};
}),
});
Expand Down

0 comments on commit 19a9abe

Please sign in to comment.