silverwind authored and GitHub committed 2023-10-24 02:54:59 +00:00
1 parent def907de7b
commit ce83609ff6
18 files changed
+105 -119

No files matched your search

+1 -2
View File
@@ -213,9 +213,8 @@ func GetReviewByID(ctx context.Context, id int64) (*Review, error) {
return nil, err
} else if !has {
return nil, ErrReviewNotExist{ID: id}
} else {
return review, nil
}
return review, nil
}
// CreateReviewOptions represent the options to create a review. Type, Issue and Reviewer are required.