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

@@ -1,5 +1,5 @@
import { getDomain } from '$lib/common';
import { prisma, PrismaErrorHandler } from './common';
import { prisma } from './common';
export async function isBranchAlreadyUsed({ repository, branch, id }) {
const application = await prisma.application.findUnique({