mirror of https://github.com/go-gitea/gitea.git
parent
e9649b39ac
commit
1ba4a7ec16
|
@ -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…
Reference in New Issue