mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 04:28:21 +00:00
Backport: Fix lint, fmt and integration testing errors (#2553)
* Fix lint errors * Fix fmt errors (#2544) * Hotfix for integration testing (#2473) * Hotfix for integration testing
This commit is contained in:
@@ -572,11 +572,7 @@ func (issue *Issue) ReadBy(userID int64) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := setNotificationStatusReadIfUnread(x, userID, issue.ID); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return setNotificationStatusReadIfUnread(x, userID, issue.ID)
|
||||
}
|
||||
|
||||
func updateIssueCols(e Engine, issue *Issue, cols ...string) error {
|
||||
|
Reference in New Issue
Block a user