summaryrefslogtreecommitdiff
path: root/internal/database/repos/questions.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-04-06 09:27:33 +0300
committerGrail Finder (aider) <wohilas@gmail.com>2025-04-06 09:27:33 +0300
commit42018ec3137dd2af5c84567e7b603f0eaf055048 (patch)
tree265e4644dc0cbd69c6295598cdb0d236f1a1082e /internal/database/repos/questions.go
parentb5343e90084f6bc8934065f16ef1167320791050 (diff)
refactor: update SQL query and remove question template
Diffstat (limited to 'internal/database/repos/questions.go')
-rw-r--r--internal/database/repos/questions.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/database/repos/questions.go b/internal/database/repos/questions.go
index f444b05..ab5e093 100644
--- a/internal/database/repos/questions.go
+++ b/internal/database/repos/questions.go
@@ -9,7 +9,7 @@ type QuestionsRepo interface {
func (p *Provider) DBGetMixedUbung(id uint32) (*models.MixedUbung, error) {
var ubung models.MixedUbung
- err := p.db.Get(&ubung, "SELECT * FROM mixed_ubungs WHERE mixed_id = ?", id)
+ err := p.db.Get(&ubung, "SELECT * FROM Table_Mixed WHERE mixedid = ?", id)
if err != nil {
return nil, err
}