mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +01:00
no limit
This commit is contained in:
parent
f8fa39de04
commit
6c3dd03270
1 changed files with 2 additions and 2 deletions
|
@ -306,8 +306,8 @@ defmodule Philomena.Bans do
|
||||||
user_query(user, now)
|
user_query(user, now)
|
||||||
|
|
||||||
bans =
|
bans =
|
||||||
union_all_queries(queries)
|
queries
|
||||||
|> limit(1)
|
|> union_all_queries()
|
||||||
|> Repo.all()
|
|> Repo.all()
|
||||||
|
|
||||||
# Don't return a ban if the user is currently signed in.
|
# Don't return a ban if the user is currently signed in.
|
||||||
|
|
Loading…
Reference in a new issue