This commit is contained in:
sylor_huang@126.com 2020-07-22 20:20:42 +08:00
parent 5465d61d50
commit 8ce7d8c921
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class UsersController < ApplicationController
end
end
Rails.logger.info("==========projects_json========+########{projects_json}")
render json: { projects: projects_json }
render json: { projects: projects_json.present? ? projects_json : {} }
end
def trustie_projects