1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

Fixes 4: In Da Hood.

This commit is contained in:
lain 2018-02-24 10:58:16 +01:00
parent 42f30d67fa
commit 6744710908

View file

@ -9,7 +9,8 @@ def run([]) do
Mix.Task.run("app.start")
q = from u in User,
where: fragment("? @> ?", u.info, ^%{"ap_enabled" => true})
where: fragment("? @> ?", u.info, ^%{"ap_enabled" => true}),
where: u.local == false
users = Repo.all(q)
Enum.each(users, fn(user) ->