()
| 102 | } |
| 103 | |
| 104 | export function getDataSource(): DataSource { |
| 105 | if (appDataSource === undefined) { |
| 106 | init() |
| 107 | } |
| 108 | return appDataSource |
| 109 | } |
| 110 | |
| 111 | export const getDatabaseSSLFromEnv = () => { |
| 112 | if (process.env.DATABASE_SSL_KEY_BASE64) { |
no test coverage detected