We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51ed887 commit 8fc8c9aCopy full SHA for 8fc8c9a
1 file changed
app/controllers/currency_controller.rb
@@ -127,7 +127,7 @@ def webhook3
127
#--------------------------------------------------------------
128
129
def webhook_facebook
130
- Facebook::Messenger::Subscriptions.subscribe(access_token: ENV["FB_ACCESS_TOKEN"])
131
- "OK"
+ #Facebook::Messenger::Subscriptions.subscribe(access_token: ENV["FB_ACCESS_TOKEN"])
+ render plain: params[‘hub.challenge’], status: 200
132
end
133
0 commit comments