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