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) {