Fix haikunator invocation

This commit is contained in:
Peter Faseun 2016-10-07 18:04:38 -04:00
parent 158991d9fd
commit a9b2695e23
No known key found for this signature in database
GPG key ID: A2241F5838A0C94D

View file

@ -32,7 +32,7 @@ func NewApp() *gin.Engine {
"name": fname, "name": fname,
}).Info("Restore?") }).Info("Restore?")
haikunator := haikunator.NewHaikunator() haikunator := haikunator.New()
haikunator.TokenLength = 0 haikunator.TokenLength = 0
name := haikunator.Haikunate() name := haikunator.Haikunate()
path := fmt.Sprintf("slides/%s.md", name) path := fmt.Sprintf("slides/%s.md", name)