8000 Merge pull request #699 from artsy/flag-name · artsy/eidolon@c674bec · GitHub
[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #699 from artsy/flag-name
Browse files Browse the repository at this point in the history
Updates flag name #trivial
  • Loading branch information
ashfurrow authored Nov 6, 2018
2 parents 1997b4e + ad566b2 commit c674bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Kiosk/App/Models/Sale.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import SwiftyJSON
let name = json["name"].stringValue
let artworkCount = json["eligible_sale_artworks_count"].intValue
let state = json["auction_state"].stringValue
let bypassCreditCardRequirement = json["kiosk_bypasses_card_requirement"].boolValue
let bypassCreditCardRequirement = json["trusted_client_bypasses_card_requirement"].boolValue

let sale = Sale(id: id, name: name, isAuction: isAuction, startDate: startDate, endDate: endDate, artworkCount: artworkCount, state: state, bypassCreditCardRequirement: bypassCreditCardRequirement)

Expand Down
2 changes: 1 addition & 1 deletion KioskTests/Fixtures/SaleFixture.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ func makeSale(startAt: Date = NSDate.distantPast,
return Sale.fromJSON([
"start_at": ISO8601DateFormatter().string(from: startAt),
"end_at" : ISO8601DateFormatter().string(from: endAt),
"kiosk_bypasses_card_requirement": bypassCreditCardRequirement
"trusted_client_bypasses_card_requirement": bypassCreditCardRequirement
])
}

0 comments on commit c674bec

Please sign in to comment.
0