projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c368b0
)
Fix credo warning
author
Roman Chvanikov
<chvanikoff@pm.me>
Sat, 9 May 2020 08:59:49 +0000
(11:59 +0300)
committer
Roman Chvanikov
<chvanikoff@pm.me>
Sat, 9 May 2020 08:59:49 +0000
(11:59 +0300)
lib/pleroma/counter_cache.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/counter_cache.ex
b/lib/pleroma/counter_cache.ex
index a940b5e50cca97ef1605a5d81014888256b7f143..aa6d38687d3481267a1a1e037f9bb3eeb75797e3 100644
(file)
--- 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),