From ffcdec9b42d1ada9a21ef04a9e87b1aeedfa4ee5 Mon Sep 17 00:00:00 2001 From: Sysix Date: Thu, 7 Aug 2025 21:35:43 +0200 Subject: [PATCH] chore: change api url to `api.lexware.io` --- src/Api.php | 2 +- tests/ApiTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api.php b/src/Api.php index 7734a09..e8e297e 100644 --- a/src/Api.php +++ b/src/Api.php @@ -35,7 +35,7 @@ class Api implements ApiInterface { - public string $apiUrl = 'https://api.lexoffice.io'; + public string $apiUrl = 'https://api.lexware.io'; protected string $apiVersion = 'v1'; diff --git a/tests/ApiTest.php b/tests/ApiTest.php index ce99164..6241896 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -69,7 +69,7 @@ public function testApiUrl(): void new Response(200, [], 'post-content') ); - $this->assertStringStartsWith('api.lexoffice.io', $stub->getRequest()->getUri()->getHost()); + $this->assertStringStartsWith('api.lexware.io', $stub->getRequest()->getUri()->getHost()); $stub->apiUrl = 'https://test.de'; $stub->newRequest('POST', 'post-content');