Skip to content

Commit

Permalink
tweak scheduleAt to be subMinute to fix little server times issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Saifallak committed Jan 2, 2025
1 parent 46c5781 commit a56627d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Cloudwa.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __construct()
'Accept' => 'application/json',
];

$this->scheduleAt = now()->utc();
$this->scheduleAt = now()->utc()->subMinute();
}

/**
Expand Down Expand Up @@ -183,8 +183,6 @@ public function checkAvailability(): bool
'chat_id' => $phone,
]);

info($res);

return ['status' => true];
}, function () {
return ['status' => false];
Expand Down

0 comments on commit a56627d

Please sign in to comment.