aboutsummaryrefslogtreecommitdiff
path: root/src/api/admin/router.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-12 11:56:40 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-12 12:05:37 +0100
commita0abf417626be8d120f660c582195747d131b88b (patch)
tree585aa99a5fb41511460580b4cf7df7fa851fc5e4 /src/api/admin/router.rs
parent980572a8872c56ea9572ff03579ebb9a65013775 (diff)
downloadgarage-a0abf417626be8d120f660c582195747d131b88b.tar.gz
garage-a0abf417626be8d120f660c582195747d131b88b.zip
Fix router keyword handling (fix #442)router-keywords-fix
Diffstat (limited to 'src/api/admin/router.rs')
-rw-r--r--src/api/admin/router.rs15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/api/admin/router.rs b/src/api/admin/router.rs
index 3fa07b3c..62e6abc3 100644
--- a/src/api/admin/router.rs
+++ b/src/api/admin/router.rs
@@ -143,10 +143,13 @@ impl Endpoint {
}
generateQueryParameters! {
- "format" => format,
- "id" => id,
- "search" => search,
- "globalAlias" => global_alias,
- "alias" => alias,
- "accessKeyId" => access_key_id
+ keywords: [],
+ fields: [
+ "format" => format,
+ "id" => id,
+ "search" => search,
+ "globalAlias" => global_alias,
+ "alias" => alias,
+ "accessKeyId" => access_key_id
+ ]
}