Skip to content

Commit 702a152

Browse files
committed
format
1 parent 8b09997 commit 702a152

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/algora/analytics/analytics.ex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ defmodule Algora.Analytics do
2929
active_previous:
3030
u.id
3131
|> count()
32-
|> filter(
33-
u.activated and u.inserted_at <= ^period_start and u.inserted_at >= ^previous_period_start
34-
)
32+
|> filter(u.activated and u.inserted_at <= ^period_start and u.inserted_at >= ^previous_period_start)
3533
}
3634

3735
contracts_query =
@@ -45,7 +43,7 @@ defmodule Algora.Analytics do
4543
u.id
4644
|> count()
4745
|> filter(
48-
(u.status == :active or u.status == :paid) and u.inserted_at < ^from and u.inserted_at >= ^period_start
46+
(u.status == :active or u.status == :paid) and u.inserted_at < ^from and u.inserted_at >= ^period_start
4947
),
5048
success_previous:
5149
u.id

0 commit comments

Comments
 (0)