Skip to content

Commit

Permalink
Fix missing await coro
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted authored and torbsto committed Mar 12, 2024
1 parent 49f2931 commit 04bb654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keycloak_oauth/starlette_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ async def handle_auth_callback(self, request: Request) -> RedirectResponse:

@login_not_required
async def public_keys(self, request: Request) -> JSONResponse:
return JSONResponse(self.keycloak.public_keys(request))
keys = await self.keycloak.public_keys(request)
return JSONResponse(keys)

def setup_admin(self, admin: BaseAdmin) -> None:
super().setup_admin(admin)
Expand Down

0 comments on commit 04bb654

Please sign in to comment.