dev_trainings
jingquan huang 6 years ago
parent ae07c1b6df
commit fdecb7c53d

@ -388,7 +388,7 @@ class GamesService
if content != last_content && code_file.blank?
raise("update file failed")
else
return {:success => "success", :resubmit => resubmit ,:content_modified => content_modified, sec_key: record.identifier}
return {:success => "success", :resubmit => resubmit ,:content_modified => content_modified, sec_key: record.try(:identifier)}
end
end
rescue Exception => e

Loading…
Cancel
Save