Skip to content

Commit

Permalink
Add FIXME
Browse files Browse the repository at this point in the history
  • Loading branch information
RichDom2185 committed Aug 15, 2023
1 parent f3322b9 commit 2741bea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/stories.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type Story struct {
func GetAllStoriesInGroup(db *gorm.DB, groupID *uint) ([]Story, error) {
var stories []Story
err := db.
// FIXME: Handle nil case properly
Where(Story{GroupID: groupID}).
Preload(clause.Associations).
// TODO: Abstract out the sorting logic
Expand Down

0 comments on commit 2741bea

Please sign in to comment.