From 0955a35921057464ee61cecfb54a0d2d38e522ce Mon Sep 17 00:00:00 2001 From: Billy Lo Date: Tue, 21 Sep 2021 18:57:50 -0400 Subject: [PATCH] added special case to show GREEN for 1 shot of JANSSEN --- src/payload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/payload.ts b/src/payload.ts index 9fd89c6..1ac0222 100644 --- a/src/payload.ts +++ b/src/payload.ts @@ -106,7 +106,7 @@ export class Payload { this.receipt = body.receipt; this.rawData = body.rawData; - if (body.receipt.numDoses > 1) { + if (body.receipt.numDoses > 1 || body.receipt.vaccineName.includes('JANSSEN')) { this.backgroundColor = COLORS.GREEN; } else { this.backgroundColor = COLORS.YELLOW;