Skip to content

Commit bf9aba7

Browse files
author
Greg S
committed
issue #82: Fixed MosaicService to pass single MosaicInfo object instead of array
1 parent afdc959 commit bf9aba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/MosaicService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class MosaicService {
6868
mergeMap((mosaic: Mosaic) => this.mosaicsView([mosaic.id]).pipe(
6969
filter((_) => _.length !== 0),
7070
map<MosaicView[], MosaicAmountView>((mosaicViews) => {
71-
return new MosaicAmountView(mosaicViews[0].mosaicInfo, mosaic.amount);
71+
return new MosaicAmountView(mosaicViews[0].mosaicInfo[0], mosaic.amount);
7272
}),
7373
toArray())));
7474
}

0 commit comments

Comments
 (0)