Skip to content

Commit e66b354

Browse files
committed
WIP
1 parent 9e9d264 commit e66b354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Requests/ContactRelations/FetchAContactRelationRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace CodebarAg\Bexio\Requests\ContactRelations;
44

5-
use CodebarAg\Bexio\Dto\ContactRelations\ContactGroupDTO;
5+
use CodebarAg\Bexio\Dto\ContactRelations\ContactRelationDTO;
66
use Exception;
77
use Saloon\Enums\Method;
88
use Saloon\Http\Request;
@@ -28,6 +28,6 @@ public function createDtoFromResponse(Response $response): mixed
2828
throw new Exception('Request was not successful. Unable to create DTO.');
2929
}
3030

31-
return ContactGroupDTO::fromResponse($response);
31+
return ContactRelationDTO::fromResponse($response);
3232
}
3333
}

0 commit comments

Comments
 (0)