Refactored creature methods to their own folders

This commit is contained in:
Stefan Zermatten
2021-06-21 15:20:04 +02:00
parent c5aca81131
commit 848e961e3b
50 changed files with 174 additions and 161 deletions

View File

@@ -1,4 +1,4 @@
import Creatures from '/imports/api/creature/Creatures.js';
import Creatures from '/imports/api/creature/creatures/Creatures.js';
export default function getRootCreatureAncestor(property){
return Creatures.findOne(property.ancestors[0].id);