Use 'list' instead of 'list-id' for the area in a task template
This commit is contained in:
parent
296711ec03
commit
93d0c13358
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def createThings3Task(template, args):
|
||||||
'when': args.when if args.when is not None else template['when'],
|
'when': args.when if args.when is not None else template['when'],
|
||||||
'tags': args.tags if args.tags is not None else ','.join(template['tags']),
|
'tags': args.tags if args.tags is not None else ','.join(template['tags']),
|
||||||
'reveal': template['reveal'],
|
'reveal': template['reveal'],
|
||||||
'list-id': template['area'],
|
'list': template['area'],
|
||||||
}
|
}
|
||||||
params = urlencode({ k: v for k, v in values.items() if v is not None }, quote_via=quote)
|
params = urlencode({ k: v for k, v in values.items() if v is not None }, quote_via=quote)
|
||||||
url = f'things:///add?{params}'
|
url = f'things:///add?{params}'
|
||||||
|
|
|
||||||
Reference in a new issue