Files
api/models/stories/remove.go
T
2018-09-20 20:50:22 +02:00

11 lines
206 B
Go

package stories
import (
"git.aiterp.net/rpdata/api/models"
)
// Remove the story from the database
func Remove(story models.Story) (models.Story, error) {
return story, collection.RemoveId(story.ID)
}