diff options
author | Alex <alex@adnab.me> | 2022-12-15 08:40:26 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2022-12-15 08:40:26 +0000 |
commit | 1af4a5ed569e42f77dd4ecc9364a27f7ed43df63 (patch) | |
tree | 97b73088670bb4e5c5acf55c3cce5ecd3d203483 /src/api/admin/router.rs | |
parent | f7c65e830e66c9887d989a8281d8fae7f76f9c8c (diff) | |
parent | a0abf417626be8d120f660c582195747d131b88b (diff) | |
download | garage-1af4a5ed569e42f77dd4ecc9364a27f7ed43df63.tar.gz garage-1af4a5ed569e42f77dd4ecc9364a27f7ed43df63.zip |
Merge pull request 'Fix router keyword handling (fix #442)' (#446) from router-keywords-fix into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/446
Diffstat (limited to 'src/api/admin/router.rs')
-rw-r--r-- | src/api/admin/router.rs | 15 |
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 + ] } |