()
| 415 | values: {}, |
| 416 | }); |
| 417 | } |
| 418 | return await avgCacheDbPromise; |
| 419 | } |
| 420 | |
| 421 | function getAvgCacheKey(target: TargetChat, userId: string): string { |
| 422 | return `${target.storageKey}:${userId}`; |
| 423 | } |
| 424 | |
| 425 | async function getCachedAvgEntry( |
no outgoing calls
no test coverage detected