Skip to content

Commit

Permalink
fix(api): group repo query
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Aug 26, 2024
1 parent e0626e6 commit 4c43557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/repo/group_repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (repo *groupRepo) Count() (int64, error) {
}
var res Result
db := repo.db.
Raw("SELECT count(*) as result FROM group").
Raw("SELECT count(*) as result FROM \"group\"").
Scan(&res)
if db.Error != nil {
return 0, db.Error
Expand Down

0 comments on commit 4c43557

Please sign in to comment.