Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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