From 03977239f31065de3bb3f1c0af080f6e4381d117 Mon Sep 17 00:00:00 2001 From: ddebowczyk Date: Sat, 16 Sep 2023 17:58:04 +0200 Subject: [PATCH] Fixed incorrect MissingNameException import in CollectionResource --- .gitignore | 1 + src/Resources/CollectionResource.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7e9f7ea..39965a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ composer.phar /vendor/ +.idea .env .env.testing diff --git a/src/Resources/CollectionResource.php b/src/Resources/CollectionResource.php index 74b7a26..dd44279 100644 --- a/src/Resources/CollectionResource.php +++ b/src/Resources/CollectionResource.php @@ -3,7 +3,7 @@ namespace Probots\Pinecone\Resources; use Probots\Pinecone\Requests\Collections; -use Probots\Pinecone\Requests\Exceptions\MissingNameException; +use Probots\Pinecone\Exceptions\MissingNameException; use Saloon\Contracts\Connector; use Saloon\Contracts\Response; @@ -69,4 +69,4 @@ public function delete(): Response return $this->connector->send(new Collections\Delete($this->name)); } -} \ No newline at end of file +}