Skip to content

Commit

Permalink
Fix CSV importer bug (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
boktah authored Dec 8, 2024
1 parent 60531fa commit 33b86c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/importer.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default class Importer {
return validSources;
}

const validMonsters = this._validateMonsters(results.monsters, validSources);
const validMonsters = this._validateMonsters(results.monsters, results.sources);
if(!validMonsters[0]){
return validMonsters;
}
Expand Down

0 comments on commit 33b86c5

Please sign in to comment.