| @@ -7,9 +7,8 @@ | ||
| 7 | 7 | namespace Extendify\Mcp; |
| 8 | 8 | |
| 9 | 9 | defined('ABSPATH') || die('No direct access.'); |
| 10 | 10 | |
| 11 | -use Extendify\Config; | |
| 12 | 11 | use Extendify\Constants; |
| 13 | 12 | |
| 14 | 13 | /** |
| 15 | 14 | * Every write goes back through the REST server, so the route's own |
| @@ -1620,9 +1619,9 @@ | ||
| 1620 | 1619 | 'Accept' => 'application/json', |
| 1621 | 1620 | 'X-Extendify-Site-Id' => \get_option('extendify_site_id', ''), |
| 1622 | 1621 | ], |
| 1623 | 1622 | 'body' => \wp_json_encode([ |
| 1624 | - 'partner' => (string) Config::$partnerId, | |
| 1623 | + 'partner' => (string) constant('EXTENDIFY_PARTNER_ID'), | |
| 1625 | 1624 | 'tool' => $arguments['tool'], |
| 1626 | 1625 | 'justification' => $arguments['justification'], |
| 1627 | 1626 | 'context' => (string) ($arguments['context'] ?? ''), |
| 1628 | 1627 | ]), |