fix typo in argument to details CLI command

Fixes #2951.
This commit is contained in:
Sarah Hoffmann 2023-01-21 10:44:10 +01:00
parent 5f4e98e0d9
commit 02645277c8

View File

@ -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: