diff --git a/app/Models/Account.php b/app/Models/Account.php index 3e802f6d4834..8af56a3a590d 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -428,10 +428,13 @@ class Account extends BaseModel public function gmailCredentialNotification() :bool { + nlog("checking if gmail credential notification has already been sent"); if(is_null(Cache::get($this->key))) return false; + nlog("Sending notification"); + try { if(is_null(Cache::get("gmail_credentials_notified:{$this->key}"))) {