Fix bug
This commit is contained in:
parent
507049e8ae
commit
7bc9261ff9
|
@ -337,7 +337,8 @@ end
|
|||
namespace :sync_asia_personal_plugins do
|
||||
desc 'sync_personal_plugins from Asia'
|
||||
task :sync => [:environment] do
|
||||
User.each do |user|
|
||||
users = User.all.to_a
|
||||
users.each do |user|
|
||||
puts "Fetching data for #{user.user_name}..."
|
||||
query_result = get_sync_data(user.user_name)
|
||||
#puts ["query_result",query_result]
|
||||
|
|
Loading…
Reference in New Issue