feat: Enable reauthorization for Facebook (#1286)

This commit is contained in:
Sojan Jose
2020-09-30 01:12:32 +05:30
committed by GitHub
parent 99ca54fd3c
commit b862817b29
20 changed files with 281 additions and 15 deletions

View File

@@ -0,0 +1,3 @@
json.data do
json.partial! 'api/v1/models/inbox.json.jbuilder', resource: @inbox
end

View File

@@ -15,3 +15,4 @@ json.web_widget_script resource.channel.try(:web_widget_script)
json.forward_to_address resource.channel.try(:forward_to_address)
json.phone_number resource.channel.try(:phone_number)
json.selected_feature_flags resource.channel.try(:selected_feature_flags)
json.reauthorization_required resource.channel.try(:reauthorization_required?) if resource.facebook?