mix format

This commit is contained in:
byte[] 2020-06-06 13:28:46 -04:00
parent 485d8be3b3
commit 35ba4087fa

View file

@ -178,9 +178,9 @@ defmodule Philomena.Tags do
def alias_tag(%Tag{} = tag, attrs) do
target_tag = Repo.get_by!(Tag, name: attrs["target_tag"])
if(tag.id == target_tag.id) do
tag
if tag.id == target_tag.id do
tag
else
filters_hidden =
where(Filter, [f], fragment("? @> ARRAY[?]::integer[]", f.hidden_tag_ids, ^tag.id))