sunbeam
sunbeam copied to clipboard
mode: `search` not returning a payload['query']
In python:
manifest = {
"title": "xn",
"commands": [
{
"name": "search_nodes",
"title": "Search nodes",
"mode": "search",
}
],
}
if payload["command"] == "search_nodes":
query = payload["query"]
query is throwing a key error. I dumped the payload out to JSON and there is indeed no query key.
Thanks for the bug report, I'll take a look
thanks! let me know if you need more/better details.