Vaguely working

This commit is contained in:
Your Name
2025-05-25 11:23:36 +12:00
parent 3db0208fe9
commit 90b4946ce8
5 changed files with 17 additions and 36 deletions

View File

@@ -479,7 +479,7 @@ void Server::add_file_metadata(const std::string &file_path, nlohmann::json &met
void Server::handle_delete_object(const httplib::Request& req, httplib::Response& res) {
std::map<std::string, std::string> params;
if (!validate_write_request(req, res, {"token", "hash"}, params)) {
if (!validate_write_request(req, res, {"hash"}, params)) {
return;
}