Skip to content

Commit 1ec019c

Browse files
committed
Fix lint
1 parent 5054766 commit 1ec019c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/activities/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ func (a *Action) loadComment(ctx context.Context) (err error) {
233233
return nil
234234
}
235235
a.Comment, err = issues_model.GetCommentByID(ctx, a.CommentID)
236-
return
236+
return err
237237
}
238238

239239
func (a *Action) getCommentHTMLURL(ctx context.Context) string {

0 commit comments

Comments
 (0)