[verified] Harden Etsy MCP validation and scheduled token refresh
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 38s
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 38s
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Models\EtsyConnection;
|
||||
use App\Services\Bambuddy;
|
||||
use App\Services\DryerClient;
|
||||
use App\Services\Etsy;
|
||||
@@ -22,11 +21,6 @@ class RefreshIntegrationCache extends Command
|
||||
{
|
||||
$cache->forceRefresh = true;
|
||||
|
||||
if (($connection = EtsyConnection::first()) && $etsy->configured()) {
|
||||
$this->refresh('etsy receipts', fn () => $etsy->receipts($connection));
|
||||
$this->refresh('etsy listings', fn () => $etsy->listings($connection));
|
||||
}
|
||||
|
||||
$this->refresh('parcel2go', function () use ($parcel2Go): void {
|
||||
$parcel2Go->verifyCredentials();
|
||||
foreach (['me/orders/detail', 'me/detail', 'me/prepay/balance'] as $path) {
|
||||
|
||||
Reference in New Issue
Block a user