fix typo
This commit is contained in:
parent
ac7c78d004
commit
58bc380724
|
@ -279,7 +279,7 @@ func SubmitReview(doer *User, issue *Issue, reviewType ReviewType, content strin
|
|||
review.Issue = issue
|
||||
review.Content = content
|
||||
review.Type = reviewType
|
||||
if _, err := sess.ID(review.ID).Cols("content, typpe").Update(review); err != nil {
|
||||
if _, err := sess.ID(review.ID).Cols("content, type").Update(review); err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue