fix: More error handling in proxy configuration + cleanups

This commit is contained in:
Andras Bacsai
2022-02-11 21:14:47 +01:00
parent 02e0385ab8
commit d88f2ea4c3
13 changed files with 31 additions and 37 deletions

View File

@@ -114,15 +114,6 @@ export async function updateDatabase({
});
}
// export async function setDatabaseSettings({ id, isPublic }) {
// try {
// await prisma.databaseSettings.update({ where: { databaseId: id }, data: { isPublic } })
// return { status: 201 }
// } catch (e) {
// throw PrismaErrorHandler(e)
// }
// }
export async function stopDatabase(database) {
let everStarted = false;
const {