Don'Ãt run message cleanup queries in the API process
This commit is contained in:
parent
1ff86defc3
commit
6cd07ed696
3 changed files with 17 additions and 2 deletions
9
backend/src/globals.ts
Normal file
9
backend/src/globals.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
let isAPIValue = false;
|
||||
|
||||
export function isAPI() {
|
||||
return isAPIValue;
|
||||
}
|
||||
|
||||
export function setIsAPI(value: boolean) {
|
||||
isAPIValue = value;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue