mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-09 17:12:21 +01:00
Merge pull request #1336 from yanma/issue_1318
(refs #1318) make record***Activity via ssh works again
This commit is contained in:
@@ -36,7 +36,7 @@ abstract class GitCommand extends Command with SessionAware {
|
||||
override def run(): Unit = {
|
||||
authUser match {
|
||||
case Some(authUser) =>
|
||||
Database() withSession { implicit session =>
|
||||
Database() withTransaction { implicit session =>
|
||||
try {
|
||||
runTask(authUser)
|
||||
callback.onExit(0)
|
||||
|
||||
Reference in New Issue
Block a user