ci: made build upload failable; updated ci for use with PRs

This commit is contained in:
Jef Roosens 2022-05-05 09:35:19 +02:00
parent b6d5bd3228
commit 8c5652c230
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
10 changed files with 41 additions and 64 deletions

View file

@ -60,7 +60,6 @@ fn (mut app App) delete_repo(id int) web.Result {
return app.json(http.Status.unauthorized, new_response('Unauthorized.'))
}
// repos.delete(id)
app.db.delete_git_repo(id)
return app.json(http.Status.ok, new_response('Repo removed successfully.'))