()
| 69 | }; |
| 70 | |
| 71 | export const getLogCleanupStatus = async (): Promise<{ |
| 72 | enabled: boolean; |
| 73 | cronExpression: string | null; |
| 74 | }> => { |
| 75 | const settings = await getWebServerSettings(); |
| 76 | const cronExpression = settings?.logCleanupCron ?? null; |
| 77 | return { |
| 78 | enabled: cronExpression !== null, |
| 79 | cronExpression, |
| 80 | }; |
| 81 | }; |
no test coverage detected