Skip to content

mode: search not returning a payload['query'] #95

@gwenwindflower

Description

@gwenwindflower

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions