Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomiceli committed Jan 23, 2025
1 parent a2aebe6 commit 16f8cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/gist.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func GetGist(user string, gistUuid string) (*Gist, error) {

func GetGistByID(gistId string) (*Gist, error) {
gist := new(Gist)
err := db.Preload("User").Preload("Forked.User").
err := db.Preload("User").Preload("Forked.User").Preload("Topics").
Where("gists.id = ?", gistId).
First(&gist).Error

Expand Down

0 comments on commit 16f8cda

Please # to comment.