Skip to content

Commit

Permalink
Update unoapi_webhook_setup_service.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
wkarts authored Oct 5, 2024
1 parent 810d011 commit 2f7d1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/whatsapp/unoapi_webhook_setup_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def url(whatsapp_channel)

def headers(whatsapp_channel)
{
Authorization: GlobalConfigService.load('UNOAPI_AUTH_TOKEN', whatsapp_channel.provider_config['api_key']),
Authorization: ENV.fetch('UNOAPI_AUTH_TOKEN', whatsapp_channel.provider_config['api_key']),
'Content-Type': 'application/json'
}
end
Expand Down

0 comments on commit 2f7d1d4

Please sign in to comment.