wip
This commit is contained in:
@@ -41,6 +41,7 @@ func (s Dashboard) Summary(ctx context.Context, user *types.User, month time.Tim
|
||||
WHERE user_id = $1
|
||||
AND value > 0
|
||||
AND account_id IS NOT NULL
|
||||
AND treasure_chest_id IS NULL
|
||||
AND error IS NULL
|
||||
AND date_trunc('month', date) = date_trund('month', $2)`,
|
||||
user.Id, month)
|
||||
@@ -51,6 +52,7 @@ func (s Dashboard) Summary(ctx context.Context, user *types.User, month time.Tim
|
||||
WHERE user_id = $1
|
||||
AND value > 0
|
||||
AND treasure_chest_id IS NOT NULL
|
||||
AND account_id IS NULL
|
||||
AND error IS NULL
|
||||
AND date_trunc('month', date) = date_trund('month', $2)`,
|
||||
user.Id, month)
|
||||
|
||||
Reference in New Issue
Block a user