Skip to content

Commit 5763d43

Browse files
committed
style: reformat codebase
1 parent 424e92c commit 5763d43

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

graph/ent.resolvers.go

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/ranking/ranking.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ func (s *Service) getUserScoresByPoints(ctx context.Context, since time.Time) ([
165165
return sql.As(sql.Sum(point.FieldPoints), "total_score")
166166
}).
167167
Scan(ctx, &results)
168-
169168
if err != nil {
170169
return nil, err
171170
}
@@ -200,7 +199,6 @@ func (s *Service) getUserScoresByCompletedQuestions(ctx context.Context, since t
200199
return sql.As(fmt.Sprintf("COUNT(DISTINCT %s)", "question_submissions"), "completed_quests")
201200
}).
202201
Scan(ctx, &results)
203-
204202
if err != nil {
205203
return nil, err
206204
}

0 commit comments

Comments
 (0)