Skip to content

Commit 8db5d9a

Browse files
authored
Fix starlette get_admin (#1946)
1 parent 107f776 commit 8db5d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/starlette_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ async def admin_config(request: Request):
557557
"""
558558

559559
if request.method == 'GET':
560-
return await execute_from_starlette(admin_api.get_config, request,
560+
return await execute_from_starlette(admin_api.get_config_, request,
561561
alternative_api=ADMIN)
562562
elif request.method == 'PUT':
563563
return await execute_from_starlette(admin_api.put_config, request,

0 commit comments

Comments
 (0)