mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Appropriately refresh sending tokens
This commit is contained in:
parent
3391ad54e0
commit
5670abe224
@ -359,6 +359,8 @@ class NinjaMailerJob implements ShouldQueue
|
||||
],
|
||||
])->getBody()->getContents());
|
||||
|
||||
nlog($token);
|
||||
|
||||
if($token){
|
||||
|
||||
$user->oauth_user_refresh_token = property_exists($token, 'refresh_token') ? $token->refresh_token : $user->oauth_user_refresh_token;
|
||||
|
Loading…
x
Reference in New Issue
Block a user