(database?: DatabaseClient)
| 50 | const IMPACT_ADVOCATE_REGISTRATION_CLAIM_STALE_MS = 15 * 60 * 1000; |
| 51 | |
| 52 | function getDatabaseClient(database?: DatabaseClient): DatabaseClient { |
| 53 | return database ?? db; |
| 54 | } |
| 55 | |
| 56 | function productForProgramKey(programKey: ImpactAdvocateProgramKey): ImpactReferralProduct { |
| 57 | return programKey === ImpactAdvocateProgramKey.KiloPass |
no outgoing calls
no test coverage detected