SES-135 changes property characterId

This commit is contained in:
Natalia Gawron 2021-01-10 15:32:49 +01:00
parent 868c05ef99
commit e414e321b6

View File

@ -23,7 +23,7 @@ export class AbilitiesComponent implements OnInit {
getCharacterStats() {
this.store.select( s => s.playerStore.characterId).pipe(first()).subscribe((characterId) => {
this.characterService.getCharacterStats(2).pipe(first()).subscribe((characterStats) => {
this.characterService.getCharacterStats(characterId).pipe(first()).subscribe((characterStats) => {
console.log(characterStats)
this.characterStats = characterStats;
}, (error: ErrorResponse | HttpErrorResponse) => {