luci-app-commands: correctly pass custom arguments as query string
authorDaniel Nilsson <redacted>
Wed, 18 Sep 2024 19:37:16 +0000 (21:37 +0200)
committerPaul Donald <redacted>
Wed, 18 Sep 2024 21:24:03 +0000 (23:24 +0200)
commit72255eb46c9425fbcb3ab4e000032f6b2a0cef2d
tree3f15932f8c940e33514aad5bec8bf204788fefc1
parent5a30e6c3af7f6bb1b4f02b5fcf8134c2b00ad3fb
luci-app-commands: correctly pass custom arguments as query string

Commit 702c007 changed the request to be invoked via the Request.get function
instead of the deprecated XHR one. The request options object requires the
query string to be located inside of the subobject "query", otherwise they are
not picked up. This resulted in breaking the custom arguments functionality as
the input would simply be ignored.

Fixes #7255

Signed-off-by: Daniel Nilsson <redacted>
applications/luci-app-commands/ucode/template/commands.ut
git clone https://git.99rst.org/PROJECT