From b47088bb53f9f3f8c948753a113435a6ca77eb6f Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 21 Feb 2025 14:02:57 -0600 Subject: [PATCH] fix sia rename --- repertory/librepertory/src/providers/sia/sia_provider.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repertory/librepertory/src/providers/sia/sia_provider.cpp b/repertory/librepertory/src/providers/sia/sia_provider.cpp index 9b144694..88579257 100644 --- a/repertory/librepertory/src/providers/sia/sia_provider.cpp +++ b/repertory/librepertory/src/providers/sia/sia_provider.cpp @@ -756,12 +756,12 @@ auto sia_provider::rename_file(const std::string &from_api_path, try { curl::requests::http_post post{}; post.json = nlohmann::json({ + {"bucket", get_bucket(get_sia_config())}, {"from", from_api_path}, {"to", to_api_path}, {"mode", "single"}, }); post.path = "/api/bus/objects/rename"; - post.query["bucket"] = get_bucket(get_sia_config()); std::string error_data; post.response_handler = [&error_data](auto &&data, long response_code) {