Signed-off-by: Luan Shengde shdluan@163.com --- container/assign-account/assign-account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/assign-account/assign-account.rb b/container/assign-account/assign-account.rb index c0753b0..4ed95c0 100755 --- a/container/assign-account/assign-account.rb +++ b/container/assign-account/assign-account.rb @@ -24,7 +24,7 @@ get '/assign_account' do end
def assign_jumper_account(data) - lacked_info = %w[my_email my_name my_uuid] - data.keys + lacked_info = %w[my_email my_name my_token] - data.keys error_message = "lack of my infos: #{lacked_info.join(', ')}." raise error_message unless lacked_info.empty?
The subject "rename my_uuid to my_token" will be clear.
Thanks, Xueliang
On Sat, Dec 12, 2020 at 09:51:10AM +0800, Luan Shengde wrote:
Signed-off-by: Luan Shengde shdluan@163.com
container/assign-account/assign-account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/assign-account/assign-account.rb b/container/assign-account/assign-account.rb index c0753b0..4ed95c0 100755 --- a/container/assign-account/assign-account.rb +++ b/container/assign-account/assign-account.rb @@ -24,7 +24,7 @@ get '/assign_account' do end
def assign_jumper_account(data)
- lacked_info = %w[my_email my_name my_uuid] - data.keys
- lacked_info = %w[my_email my_name my_token] - data.keys error_message = "lack of my infos: #{lacked_info.join(', ')}." raise error_message unless lacked_info.empty?
-- 2.23.0
On Sat, Dec 12, 2020 at 02:11:30PM +0800, Cao Xueliang wrote:
The subject "rename my_uuid to my_token" will be clear.
OK, I will optimize the subject
Thanks, Luan Shengde
Thanks, Xueliang
On Sat, Dec 12, 2020 at 09:51:10AM +0800, Luan Shengde wrote:
Signed-off-by: Luan Shengde shdluan@163.com
container/assign-account/assign-account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/container/assign-account/assign-account.rb b/container/assign-account/assign-account.rb index c0753b0..4ed95c0 100755 --- a/container/assign-account/assign-account.rb +++ b/container/assign-account/assign-account.rb @@ -24,7 +24,7 @@ get '/assign_account' do end
def assign_jumper_account(data)
- lacked_info = %w[my_email my_name my_uuid] - data.keys
- lacked_info = %w[my_email my_name my_token] - data.keys error_message = "lack of my infos: #{lacked_info.join(', ')}." raise error_message unless lacked_info.empty?
-- 2.23.0