对token初始化增加了非空数量的判断

This commit is contained in:
zhangxunhui 2023-02-03 09:11:45 +08:00
parent 8e89be831c
commit 8aa844749f
1 changed files with 2 additions and 2 deletions

View File

@ -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