[verified] Harden Etsy MCP validation and scheduled token refresh
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 38s

This commit is contained in:
2026-11-07 21:54:33 +00:00
parent 960189d14b
commit c8c5822166
13 changed files with 455 additions and 89 deletions
@@ -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) {