Added solved_count to listproblems endpoint

This commit is contained in:
OXYgen 2025-04-02 21:52:21 +05:00
parent a27e311526
commit 27fe519958
3 changed files with 17 additions and 3 deletions

View file

@ -32,6 +32,7 @@ type ProblemsListItem struct {
TimeLimit int32 `db:"time_limit"`
CreatedAt time.Time `db:"created_at"`
UpdatedAt time.Time `db:"updated_at"`
SolvedCount int32 `db:"solved_count"`
}
type ProblemsList struct {