package chapters import ( "git.aiterp.net/rpdata/api/models" "github.com/globalsign/mgo/bson" ) // ListStoryID lists all chapters for the story ID func ListStoryID(storyID string) ([]models.Chapter, error) { return list(bson.M{"storyId": storyID}) }