This is an automated email from the ASF dual-hosted git repository.

kumfo pushed a commit to branch feat/reviewer-basic
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git


The following commit(s) were added to refs/heads/feat/reviewer-basic by this 
push:
     new b430f6d  fix(review): review switch option save error
b430f6d is described below

commit b430f6da33758415a8512b15176eb0cef2418ac5
Author: kumfo <[email protected]>
AuthorDate: Thu Apr 25 15:02:06 2024 +0800

    fix(review): review switch option save error
---
 reviewer-basic/basic.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reviewer-basic/basic.go b/reviewer-basic/basic.go
index 001ef67..5712cc3 100644
--- a/reviewer-basic/basic.go
+++ b/reviewer-basic/basic.go
@@ -131,7 +131,7 @@ func (r *Reviewer) Review(content *plugin.ReviewContent) 
(result *plugin.ReviewR
 func (r *Reviewer) ConfigFields() []plugin.ConfigField {
        return []plugin.ConfigField{
                {
-                       Name:  "review_all_post",
+                       Name:  "review_post_all",
                        Type:  plugin.ConfigTypeSwitch,
                        Title: 
plugin.MakeTranslator(i18n.ConfigReviewPostTitle),
                        UIOptions: plugin.ConfigFieldUIOptions{

Reply via email to