Include chain fetch in game data

This commit is contained in:
Dragon Fire
2020-12-03 10:44:13 -05:00
parent b7339ef0ac
commit 1b05a94d1e
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -97,6 +97,7 @@ module.exports = class Pokemon {
const { body } = await request.get(ability.ability.url);
this.abilities.push(body.names.find(name => name.language.name === 'en').name);
}
await this.fetchChain();
this.gameDataCached = true;
return this;
}