Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Commit 724b7fb

Browse files
committed
issue for multiple http method for endpoint fixed
1 parent fda5556 commit 724b7fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private function getRoute() : Route
125125
$this->router = $this->router
126126
->withCacheFile($cacheFile);
127127
}
128-
$this->addRoutes($this->config->get('routes')->get($this->id));
128+
$this->addRoutes($this->config->get('routes')->get($this->id)->toArray());
129129
return $this->route ?? $this->router->getRoute();
130130
}
131131

0 commit comments

Comments
 (0)