Fix haikunator invocation
This commit is contained in:
parent
158991d9fd
commit
a9b2695e23
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -32,7 +32,7 @@ func NewApp() *gin.Engine {
|
|||
"name": fname,
|
||||
}).Info("Restore?")
|
||||
|
||||
haikunator := haikunator.NewHaikunator()
|
||||
haikunator := haikunator.New()
|
||||
haikunator.TokenLength = 0
|
||||
name := haikunator.Haikunate()
|
||||
path := fmt.Sprintf("slides/%s.md", name)
|
||||
|
|
Loading…
Reference in a new issue