部分修改

This commit is contained in:
sylor_huang@126.com 2020-03-16 19:44:21 +08:00
parent d32a2d6f54
commit bbf047ec94
1 changed files with 3 additions and 2 deletions

View File

@ -53,10 +53,11 @@ class SyncUserForgeTask
roles = Role.all.as_json
sync_params = {
user_params: {user_params: user_params, user_extension_params: user_extension_params},
target_params: target_params,
platform: "trustie",
roles: roles,
user_params: {user_params: user_params, user_extension_params: user_extension_params}
roles: roles
}
SyncUserForgeJob.new.perform(sync_params.to_json)
# Delayed::Job.enqueue(SyncUserForgeJob.new(sync_params.to_json))