Commit c9cecdc6 authored by Volker Krause's avatar Volker Krause
Browse files

Use non-deprecated ticket token enum values

parent 0fad1050
Pipeline #173492 passed with stage
in 3 minutes and 58 seconds
......@@ -486,7 +486,7 @@ static Ticket mergeValue(const Ticket &lhs, const Ticket &rhs)
{
auto t = JsonLdDocument::apply(lhs, rhs).value<Ticket>();
// prefer barcode ticket tokens over URLs
if (t.ticketTokenType() == Ticket::Url && lhs.ticketTokenType() != Ticket::Url && lhs.ticketTokenType() != Ticket::Unknown) {
if (t.ticketTokenType() == Token::Url && lhs.ticketTokenType() != Token::Url && lhs.ticketTokenType() != Token::Unknown) {
t.setTicketToken(lhs.ticketToken());
}
return t;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment