Skip to content

Commit

Permalink
updated default
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Jul 23, 2024
1 parent abb3297 commit 0b863b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FastapiOpenRestyConfigurator/app/main/service/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def get_backends() -> List[BackendOut]:
return valid_backends


async def get_backends_upstream_urls() -> Dict[str, List[str]]:
async def get_backends_upstream_urls() -> Dict[str, List[BackendOut]]:
valid_backends: List[BackendOut] = await get_backends()
upstream_urls = {}

Expand All @@ -61,7 +61,7 @@ async def get_backends_upstream_urls() -> Dict[str, List[str]]:
if upstream_url:
if upstream_url not in upstream_urls:
upstream_urls[upstream_url] = []
upstream_urls[upstream_url].append(backend.id)
upstream_urls[upstream_url].append(backend)

return upstream_urls

Expand Down

0 comments on commit 0b863b8

Please sign in to comment.