feat: added budget from schedule

This commit is contained in:
2024-07-23 11:41:19 +02:00
commit e51e42efa8
9 changed files with 726 additions and 0 deletions

9
lib/env.js Normal file
View File

@@ -0,0 +1,9 @@
import 'dotenv/config';
export function checkEnv(keys) {
for (const key of keys) {
if (!process.env[key]) {
throw new Error(`${key} is not set`);
}
}
}