Merge pull request #1 from peterfaseun/fix-haikunator
Fix haikunator invocation
This commit is contained in:
commit
c877b47ad0
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