调整Bot授权接口
This commit is contained in:
parent
6fe16c7c82
commit
c0fcf3445a
|
@ -21,6 +21,7 @@ class InstallationsController < ApplicationController
|
|||
@bot.uid = result[:user][:id]
|
||||
@bot.save
|
||||
render_ok
|
||||
end
|
||||
rescue Exception => e
|
||||
tip_exception(-1, e.message)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue