From 8aa844749fa969ae1d2f60a739fde28b5debe32d Mon Sep 17 00:00:00 2001 From: zhangxunhui Date: Fri, 3 Feb 2023 09:11:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9token=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E9=9D=9E=E7=A9=BA=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/forms/projects/create_form.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/forms/projects/create_form.rb b/app/forms/projects/create_form.rb index ff9008b2..c9fcb44e 100644 --- a/app/forms/projects/create_form.rb +++ b/app/forms/projects/create_form.rb @@ -16,8 +16,8 @@ class Projects::CreateForm < BaseForm check_project_language(project_language_id) check_project_name(user_id, name) unless name.blank? check_repository_name(user_id, repository_name) unless repository_name.blank? - check_blockchain_token_all(blockchain_token_all) - check_blockchain_init_token(blockchain_init_token) + check_blockchain_token_all(blockchain_token_all) unless blockchain_token_all.blank? + check_blockchain_init_token(blockchain_init_token) unless blockchain_init_token.blank? end def check_license