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