diff --git a/app/controllers/hacks_controller.rb b/app/controllers/hacks_controller.rb index 0a8a24f08..67f2af3d4 100644 --- a/app/controllers/hacks_controller.rb +++ b/app/controllers/hacks_controller.rb @@ -20,7 +20,7 @@ class HacksController < ApplicationController @hack.hack_user_lastest_codes.create!(user_code) user_identifier end - render_ok(data: {identifier: identifier}) + render_ok(identifier: identifier) end # 首页