feat: add reauthorization banner for Facebook (#9553)

This commit is contained in:
Shivam Mishra
2024-05-30 09:41:04 +05:30
committed by GitHub
parent b53ce3fa79
commit 6c682a6869
7 changed files with 25 additions and 24 deletions

View File

@@ -74,7 +74,7 @@ if resource.email?
json.imap_enable_ssl resource.channel.try(:imap_enable_ssl)
if resource.channel.try(:microsoft?)
json.microsoft_reauthorization resource.channel.try(:provider_config).empty? || resource.channel.try(:reauthorization_required?)
json.reauthorization_required resource.channel.try(:provider_config).empty? || resource.channel.try(:reauthorization_required?)
end
end