fix branches
This commit is contained in:
parent
962f2c7380
commit
44feba4d89
1 changed files with 1 additions and 1 deletions
|
|
@ -819,7 +819,7 @@ export async function saveRepository(request, reply) {
|
||||||
let { repository, branch, projectId, autodeploy, webhookToken, isPublicRepository = false } = request.body
|
let { repository, branch, projectId, autodeploy, webhookToken, isPublicRepository = false } = request.body
|
||||||
|
|
||||||
repository = repository.toLowerCase();
|
repository = repository.toLowerCase();
|
||||||
branch = branch.toLowerCase();
|
|
||||||
projectId = Number(projectId);
|
projectId = Number(projectId);
|
||||||
if (webhookToken) {
|
if (webhookToken) {
|
||||||
await prisma.application.update({
|
await prisma.application.update({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue