Skip to content

Commit 1ba4a7e

Browse files
authored
fix a small nit (#13187)
Signed-off-by: a1012112796 <[email protected]>
1 parent e9649b3 commit 1ba4a7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@ type ErrNotValidReviewRequest struct {
20032003

20042004
// IsErrNotValidReviewRequest checks if an error is a ErrNotValidReviewRequest.
20052005
func IsErrNotValidReviewRequest(err error) bool {
2006-
_, ok := err.(ErrReviewNotExist)
2006+
_, ok := err.(ErrNotValidReviewRequest)
20072007
return ok
20082008
}
20092009

0 commit comments

Comments
 (0)