Don'Ãt run message cleanup queries in the API process

This commit is contained in:
Dragory 2020-05-28 02:45:07 +03:00
parent 1ff86defc3
commit 6cd07ed696
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
3 changed files with 17 additions and 2 deletions

9
backend/src/globals.ts Normal file
View file

@ -0,0 +1,9 @@
let isAPIValue = false;
export function isAPI() {
return isAPIValue;
}
export function setIsAPI(value: boolean) {
isAPIValue = value;
}