Compare commits
1 Commits
d72e07cb46
...
1bf127d39b
Author | SHA1 | Date |
---|---|---|
Shadowfacts | 1bf127d39b |
|
@ -3,12 +3,6 @@ defmodule Frenzy.Pipeline.FilterStage do
|
||||||
alias Frenzy.Pipeline.Stage
|
alias Frenzy.Pipeline.Stage
|
||||||
@behaviour Stage
|
@behaviour Stage
|
||||||
|
|
||||||
# @impl Stage
|
|
||||||
# def apply(opts, item_params) do
|
|
||||||
# matches = matches?(opts, item_params)
|
|
||||||
#
|
|
||||||
# end
|
|
||||||
|
|
||||||
@impl Stage
|
@impl Stage
|
||||||
def apply(%{"mode" => mode, "score" => score, "rules" => rules}, item_params)
|
def apply(%{"mode" => mode, "score" => score, "rules" => rules}, item_params)
|
||||||
when is_binary(mode) and is_integer(score) and is_list(rules) do
|
when is_binary(mode) and is_integer(score) and is_list(rules) do
|
||||||
|
|
Loading…
Reference in New Issue