Skip to content

Commit 2ab1d3e

Browse files
committed
getJson => getParsedContents
1 parent 8865702 commit 2ab1d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandBus/Handler/Github/AddRepositoryHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function handle(AddRepositoryCommand $command): PromiseInterface
5252
])
5353
)
5454
)->then(function ($repository) {
55-
return $this->hydrator->hydrate(RepositoryInterface::HYDRATE_CLASS, $repository->getBody()->getJson());
55+
return $this->hydrator->hydrate(RepositoryInterface::HYDRATE_CLASS, $repository->getBody()->getParsedContents());
5656
});
5757
}
5858
}

0 commit comments

Comments
 (0)