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.
In python:
query is throwing a key error. I dumped the payload out to JSON and there is indeed no query key.