summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go
index e2ac1756ab..9c79dc5df0 100644
--- a/models/action.go
+++ b/models/action.go
@@ -539,7 +539,7 @@ func CommitRepoAction(opts CommitRepoActionOptions) error {
}()
apiPusher := pusher.APIFormat()
- apiRepo := repo.APIFormat(nil)
+ apiRepo := repo.APIFormat(AccessModeNone)
var shaSum string
switch opType {