refactor(multi-server): remove databases and hide monitoring when using deploy on server

This commit is contained in:
Mauricio Siu
2024-09-17 00:05:47 -06:00
parent 9b312cd9d7
commit abe787593c
12 changed files with 129 additions and 63 deletions

View File

@@ -135,7 +135,7 @@ export const mariadbRouter = createTRPCRouter({
const mongo = await findMariadbById(input.mariadbId);
const cleanupOperations = [
async () => await removeService(mongo?.appName),
async () => await removeService(mongo?.appName, mongo.serverId),
async () => await removeMariadbById(input.mariadbId),
];