diff options
Diffstat (limited to 'models/repo_sign.go')
-rw-r--r-- | models/repo_sign.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/repo_sign.go b/models/repo_sign.go index 64f70ac7bd..8913620fa0 100644 --- a/models/repo_sign.go +++ b/models/repo_sign.go @@ -110,7 +110,7 @@ func SignInitialCommit(repoPath string, u *User) (bool, string, error) { case always: break case pubkey: - keys, err := ListGPGKeys(u.ID) + keys, err := ListGPGKeys(u.ID, ListOptions{}) if err != nil { return false, "", err } @@ -145,7 +145,7 @@ func (repo *Repository) SignWikiCommit(u *User) (bool, string, error) { case always: break case pubkey: - keys, err := ListGPGKeys(u.ID) + keys, err := ListGPGKeys(u.ID, ListOptions{}) if err != nil { return false, "", err } @@ -197,7 +197,7 @@ func (repo *Repository) SignCRUDAction(u *User, tmpBasePath, parentCommit string case always: break case pubkey: - keys, err := ListGPGKeys(u.ID) + keys, err := ListGPGKeys(u.ID, ListOptions{}) if err != nil { return false, "", err } |