(login: string, presetKey: string)
| 406 | |
| 407 | // Function to generate a hash key from commit data and preset |
| 408 | function generateReportKey(login: string, presetKey: string): string { |
| 409 | return `${presetKey}:${login}`; |
| 410 | } |
| 411 | |
| 412 | // Get report from Redis |
| 413 | async function getReport(key: string): Promise<string | null> { |