From: Roman Chvanikov Date: Sat, 9 May 2020 08:59:49 +0000 (+0300) Subject: Fix credo warning X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4f265397179e7286f27fafaf8365a0edc6972448;p=akkoma Fix credo warning --- diff --git a/lib/pleroma/counter_cache.ex b/lib/pleroma/counter_cache.ex index a940b5e50..aa6d38687 100644 --- a/lib/pleroma/counter_cache.ex +++ b/lib/pleroma/counter_cache.ex @@ -40,7 +40,7 @@ defmodule Pleroma.CounterCache do end end - def get_sum() do + def get_sum do CounterCache |> select([c], %{ "public" => sum(c.public),