lib/mihari/web/controllers/artifacts_controller.rb in mihari-2.2.0 vs lib/mihari/web/controllers/artifacts_controller.rb in mihari-2.2.1

- old
+ new

@@ -1,11 +1,9 @@ # frozen_string_literal: true -require "sinatra" - module Mihari module Controllers - class ArtifactsController < Sinatra::Base + class ArtifactsController < BaseController delete "/api/artifacts/:id" do id = params["id"] id = id.to_i begin