← All changes
|
app/Shared/Services/PluginDependencies/SimplyBook.php
+2
-1
3.0.4
→
trunk
View file →
| @@ -5,8 +5,9 @@ | ||
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | namespace Extendify\Shared\Services\PluginDependencies; |
| 8 | 8 | |
| 9 | +use Extendify\Constants; | |
| 9 | 10 | use Extendify\PartnerData; |
| 10 | 11 | use Extendify\Shared\Services\HttpClient; |
| 11 | 12 | use Extendify\Shared\Services\Sanitizer; |
| 12 | 13 | |
| @@ -57,9 +58,9 @@ | ||
| 57 | 58 | if (!empty(\get_option('extendify_simplybook_data', []))) { |
| 58 | 59 | return; |
| 59 | 60 | } |
| 60 | 61 | |
| 61 | - $response = HttpClient::post('https://ai.extendify.com/api/plugins/simplybook', [ | |
| 62 | + $response = HttpClient::post(Constants::AI_HOST . '/api/plugins/simplybook', [ | |
| 62 | 63 | 'params' => [ |
| 63 | 64 | 'title' => \get_bloginfo('name'), |
| 64 | 65 | 'wpLanguage' => \get_locale(), |
| 65 | 66 | 'version' => \Extendify\Config::$version, |