Skip to content

Commit

Permalink
AIRSEM-1648
Browse files Browse the repository at this point in the history
Include Premium economy
  • Loading branch information
annisuu authored and danielsan committed Dec 16, 2020
1 parent cc27504 commit a1c161c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShortFare.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ class ShortFare {
}

set fareClass (v) {
if (v !== 'E' && v !== 'B' && v !== 'F') {
throw new Error(`fareClass [${v}] does not equal [E]CONOMY or [B]USINESS or [F]IRST`)
if (v !== 'E' && v !== 'B' && v !== 'F' && v !== 'PE') {
throw new Error(`fareClass [${v}] does not equal [E]CONOMY or [B]USINESS or [F]IRST or [PE]PREMIUM ECONOMY`)
}

this.fc = v
Expand Down

0 comments on commit a1c161c

Please sign in to comment.