Merge branch 'dev_aliyun' of http://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_hjm
cxt 6 years ago
commit 0c0a0b297a

@ -38,7 +38,7 @@ class LibrariesController < ApplicationController
def create
library = current_user.libraries.new
Libraries::SaveService.call(library, current_user, save_params)
render_ok({id: library})
render_ok({id: library.id})
rescue Libraries::SaveService::Error => ex
render_error(ex.message)
end

Loading…
Cancel
Save