Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
RhysLees committed Jan 6, 2024
1 parent 9e9d264 commit e66b354
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace CodebarAg\Bexio\Requests\ContactRelations;

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

return ContactGroupDTO::fromResponse($response);
return ContactRelationDTO::fromResponse($response);
}
}

0 comments on commit e66b354

Please sign in to comment.