1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00

fix a small nit (#13187)

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
赵智超 2020-10-17 23:38:34 +08:00 committed by GitHub
parent e9649b39ac
commit 1ba4a7ec16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2003,7 +2003,7 @@ type ErrNotValidReviewRequest struct {
// IsErrNotValidReviewRequest checks if an error is a ErrNotValidReviewRequest.
func IsErrNotValidReviewRequest(err error) bool {
_, ok := err.(ErrReviewNotExist)
_, ok := err.(ErrNotValidReviewRequest)
return ok
}