Bug: Fix autoload_paths for facebook bot (#877)

* Fix autoload_paths for facebook bot
This commit is contained in:
Pranav Raj S
2020-05-18 15:32:26 +05:30
committed by GitHub
parent 6e92d9be9e
commit 3f5ce2ddbf
5 changed files with 25 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ class Facebook::SendReplyService
return if inbox.channel.class.to_s != 'Channel::FacebookPage'
return unless outgoing_message_from_chatwoot?
Bot.deliver(delivery_params, access_token: message.channel_token)
FacebookBot::Bot.deliver(delivery_params, access_token: message.channel_token)
end
private