Skip to content

Commit 38a8f65

Browse files
committed
fix: remove non-existant conversations API resource
1 parent 1335af1 commit 38a8f65

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

src/Conversations.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,6 @@ public function __construct(ApiCall $apiCall)
3737
$this->typesenseModels = new ConversationModels($this->apiCall);
3838
}
3939

40-
/**
41-
* @return array
42-
* @throws TypesenseClientError|HttpClientException
43-
*/
44-
public function retrieve(): array
45-
{
46-
return $this->apiCall->get(static::RESOURCE_PATH, []);
47-
}
48-
4940
/**
5041
* @return Models
5142
*/

tests/Feature/ConversationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ public function testCanDeleteAConversation(): void
3737

3838
private function endPointPath(): string
3939
{
40-
return sprintf('%s/%s', ConversationsTest::RESOURCE_PATH, $this->id);
40+
return sprintf('%s/%s', "/conversations", $this->id);
4141
}
4242
}

tests/Feature/ConversationsTest.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)