add anomaly + fix billing + add emails templates

This commit is contained in:
Emily
2024-09-14 17:07:46 +02:00
parent c253846b86
commit 4c46a36c75
23 changed files with 336 additions and 48 deletions

View File

@@ -6,7 +6,7 @@ import { RedisStreamService } from "@services/RedisStreamService";
const router = Router();
const allowAnyType = () => true;
const jsonOptions = { limit: '5mb', type: allowAnyType }
const jsonOptions = { limit: '25kb', type: allowAnyType }
const streamName = requireEnv('STREAM_NAME');

View File

@@ -9,7 +9,7 @@ const app = express();
app.use(cors());
const allowAnyType = () => true;
const jsonOptions = { limit: '5mb', type: allowAnyType }
const jsonOptions = { limit: '25kb', type: allowAnyType }
const streamName = requireEnv('STREAM_NAME');