Not to fix
This commit is contained in:
parent
d0e2a1a494
commit
01a61a5b02
@ -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
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
require "docr"
|
require "docr"
|
||||||
|
require "funko"
|
||||||
require "kemal"
|
require "kemal"
|
||||||
|
|
||||||
module Proxy
|
module Proxy
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user