Skip to content

Commit bf9c671

Browse files
committed
Corrected service call
1 parent 182f067 commit bf9c671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandBus/Handler/ConditionsHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(FetchAndHydrateService $service)
3232
*/
3333
public function handle(ConditionsCommand $command): PromiseInterface
3434
{
35-
return $this->service->handle(
35+
return $this->service->fetch(
3636
'conditions/q/' . $command->getLocation() . '.json',
3737
'current_observation',
3838
ConditionInterface::HYDRATE_CLASS

0 commit comments

Comments
 (0)