Skip to content

Commit

Permalink
Bugfix/631 contacts do not import (#633)
Browse files Browse the repository at this point in the history
* Check records exist before iterating

* Increment version to 1.1.1
  • Loading branch information
jwaspin authored Dec 6, 2023
1 parent a7ecb8b commit 6af5766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/pods/import/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import uuidV4 from "uuid/v4";

function fixLiabilityTypo(files) {
// Iterate through the records array
files.records.forEach((record) => {
files.records?.forEach((record) => {
// Access the JSON string
const jsonString = record.get('attributes.json');
// Parse the JSON string into a JavaScript object
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mdeditor",
"version": "1.1.0",
"version": "1.1.1",
"description": "A web application for authoring and editing metadata.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 6af5766

Please sign in to comment.