Skip to content

Commit

Permalink
rm deepcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Jan 24, 2025
1 parent 9a39f67 commit 6889289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def get_admin(cfg: dict) -> dict:

res_eg_key = next(iter(cfg['resources']))
res_eg = {
res_eg_key: deepcopy(cfg['resources'][res_eg_key])
res_eg_key: cfg['resources'][res_eg_key]
}

paths['/admin/config'] = {
Expand Down

0 comments on commit 6889289

Please sign in to comment.