From a6940392bf6ca60262becca68939def2328cecfa Mon Sep 17 00:00:00 2001 From: qgarnier Date: Wed, 28 Oct 2020 15:49:10 +0100 Subject: [PATCH] fix smartermail (#2298) --- apps/smartermail/restapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/smartermail/restapi/custom/api.pm b/apps/smartermail/restapi/custom/api.pm index 4473051c1..4eaf1c9c5 100644 --- a/apps/smartermail/restapi/custom/api.pm +++ b/apps/smartermail/restapi/custom/api.pm @@ -203,7 +203,7 @@ sub get_auth_token { } $self->{access_token} = $access_token; - $self->{http}->add_header(key => 'Authorization', value => 'Bearer ' . $self->{acess_token}); + $self->{http}->add_header(key => 'Authorization', value => 'Bearer ' . $self->{access_token}); } sub request_api {