use image url for iqdb proxy
This commit is contained in:
@@ -4,7 +4,8 @@ class IqdbQueriesController < ApplicationController
|
|||||||
|
|
||||||
def show
|
def show
|
||||||
if params[:url]
|
if params[:url]
|
||||||
@matches = IqdbProxy.query(params[:url])
|
strategy = Sources::Strategies.find(params[:url])
|
||||||
|
@matches = IqdbProxy.query(strategy.image_url)
|
||||||
end
|
end
|
||||||
|
|
||||||
if params[:post_id]
|
if params[:post_id]
|
||||||
|
|||||||
Reference in New Issue
Block a user