Not to fix

This commit is contained in:
Roberto Alsina 2024-07-04 16:54:08 -03:00
parent d0e2a1a494
commit 01a61a5b02
3 changed files with 2 additions and 3 deletions

View File

@ -91,8 +91,7 @@ module Funko
end end
if env.params.query.fetch("format", "json") == "html" if env.params.query.fetch("format", "json") == "html"
render "src/views/funkos.ecr" render "src/views/funkos.ecr" else
else
result.to_json result.to_json
end end
end end

View File

@ -1,4 +1,5 @@
require "docr" require "docr"
require "funko"
require "kemal" require "kemal"
module Proxy module Proxy

View File

@ -166,7 +166,6 @@ module Funko
end end
# Return a list of image IDs for this funko, most recent first # Return a list of image IDs for this funko, most recent first
# FIXME: use self.images and add filters
def image_history def image_history
docker_api = Docr::API.new(Docr::Client.new) docker_api = Docr::API.new(Docr::Client.new)
begin begin