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

@@ -156,7 +156,7 @@ export const mysqlRouter = createTRPCRouter({
const mongo = await findMySqlById(input.mysqlId);
const cleanupOperations = [
async () => await removeService(mongo?.appName),
async () => await removeService(mongo?.appName, mongo.serverId),
async () => await removeMySqlById(input.mysqlId),
];