mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
Fix lint errors (#2547)
This commit is contained in:
parent
d155d0e665
commit
4cb9394a97
9 changed files with 9 additions and 41 deletions
|
@ -282,11 +282,7 @@ func DeleteGPGKey(doer *User, id int64) (err error) {
|
|||
return err
|
||||
}
|
||||
|
||||
if err = sess.Commit(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return sess.Commit()
|
||||
}
|
||||
|
||||
// CommitVerification represents a commit validation of signature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue