Browse Source

fix a small nit (#13187)

Signed-off-by: a1012112796 <1012112796@qq.com>
tags/v1.13.0-rc2
赵智超 5 years ago committed by GitHub
parent
commit
1ba4a7ec16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      models/error.go

2
models/error.go

@ -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
}

Loading…
Cancel
Save