mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
add anomaly + fix billing + add emails templates
This commit is contained in:
@@ -2,10 +2,17 @@ import mongoose from "mongoose";
|
||||
import { Redis } from "~/server/services/CacheService";
|
||||
import EmailService from '@services/EmailService';
|
||||
import StripeService from '~/server/services/StripeService';
|
||||
import { anomalyLoop } from "./services/AnomalyService";
|
||||
|
||||
const config = useRuntimeConfig();
|
||||
let connection: mongoose.Mongoose;
|
||||
|
||||
|
||||
let anomalyMinutesCount = 0;
|
||||
function anomalyCheck() {
|
||||
|
||||
}
|
||||
|
||||
export default async () => {
|
||||
|
||||
console.log('[SERVER] Initializing');
|
||||
@@ -37,4 +44,7 @@ export default async () => {
|
||||
|
||||
console.log('[SERVER] Completed');
|
||||
|
||||
console.log('[ANOMALY LOOP] Started');
|
||||
anomalyLoop();
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user