From 02645277c8349bbc1b28775b29485c7073d43dcb Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 21 Jan 2023 10:44:10 +0100 Subject: [PATCH] fix typo in argument to details CLI command Fixes #2951. --- nominatim/clicmd/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nominatim/clicmd/api.py b/nominatim/clicmd/api.py index 9a4828b8..e2b903c7 100644 --- a/nominatim/clicmd/api.py +++ b/nominatim/clicmd/api.py @@ -251,9 +251,9 @@ class APIDetails: if args.node: params = dict(osmtype='N', osmid=args.node) elif args.way: - params = dict(osmtype='W', osmid=args.node) + params = dict(osmtype='W', osmid=args.way) elif args.relation: - params = dict(osmtype='R', osmid=args.node) + params = dict(osmtype='R', osmid=args.relation) else: params = dict(place_id=args.place_id) if args.object_class: