Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Commit

Permalink
fix(alliance): missing handle on allince dtos
Browse files Browse the repository at this point in the history
  • Loading branch information
mentos1386 committed Mar 25, 2018
1 parent 1cec6f4 commit ea769c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/alliance/alliance.dto.ts
Expand Up @@ -27,13 +27,15 @@ export class DAllianceName {
export class DAllianceShort {
id: number;
name: string;
handle: string;
ticker: string;
dateFounded: Date;
icon: DAllianceIcon;

constructor(alliance: Alliance) {
this.id = alliance.id;
this.name = alliance.name;
this.handle = alliance.handle;
this.ticker = alliance.ticker;
this.dateFounded = alliance.dateFounded;
this.icon = new DAllianceIcon(alliance.icon);
Expand All @@ -43,6 +45,7 @@ export class DAllianceShort {
export class DAlliance {
id: number;
name: string;
handle: string;
ticker: string;
dateFounded: Date;
executorCorporation: DCorporationShortWithoutAlliance;
Expand All @@ -64,6 +67,7 @@ export class DAlliance {
constructor(alliance: Alliance) {
this.id = alliance.id;
this.name = alliance.name;
this.handle = alliance.handle;
this.ticker = alliance.ticker;
this.dateFounded = alliance.dateFounded;
this.executorCorporation = new DCorporationShortWithoutAlliance(alliance.executorCorporation);
Expand Down

0 comments on commit ea769c2

Please sign in to comment.