feat: add login by invoice code
parent
7137b98043
commit
ba7b81c320
|
@ -34,9 +34,7 @@ export class TicketDataService extends BaseDataService<QueueTicket> {
|
|||
async loginQueue(id: string): Promise<QueueOrder> {
|
||||
return this.order.findOneOrFail({
|
||||
relations: ['tickets'],
|
||||
where: {
|
||||
transaction_id: id,
|
||||
},
|
||||
where: [{ transaction_id: id }, { code: id }],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue