Vaguely working
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user