mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
mix format
This commit is contained in:
parent
485d8be3b3
commit
35ba4087fa
1 changed files with 3 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue