Skip to content

Commit

Permalink
style: naming typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Chinlinlee committed Aug 23, 2023
1 parent f7414b5 commit 962b46c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions models/mongodb/models/dicomSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ let dicomSeriesSchema = new mongoose.Schema(
});
},
getAttributes: async function() {
let study = this.toObject();
delete study._id;
delete study.id;
let series = this.toObject();
delete series._id;
delete series.id;

let jsonStr = JSON.stringify(study);
let jsonStr = JSON.stringify(series);
return await Common.getAttributesFromJsonString(jsonStr);
}
},
Expand Down

0 comments on commit 962b46c

Please sign in to comment.