Skip to content

Commit

Permalink
Add participationId property to participants
Browse files Browse the repository at this point in the history
  • Loading branch information
googol committed Jun 18, 2019
1 parent 2de7255 commit 432c6a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/eventApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export interface Participant {
village: Id<Village>;
campGroup: Id<CampGroup>;
cancelled: boolean;
participationId: number;
}

export interface Address {
Expand Down
1 change: 1 addition & 0 deletions src/getEventApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ function mapParticipant(result: Json.Osallistuja) {
village: result.KylaId,
campGroup: result.LeirilippukuntaId,
cancelled: result.Perunut,
participationId: result.TapahtumaId,
};
}

Expand Down
1 change: 1 addition & 0 deletions src/json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export interface Osallistuja {
KylaId: number;
LeirilippukuntaId: number;
Perunut: boolean;
TapahtumaId: number;
}

export interface OsallistujaLisatietokentta {
Expand Down

0 comments on commit 432c6a6

Please sign in to comment.