Skip to content

Commit

Permalink
feat(telegraph): update author info
Browse files Browse the repository at this point in the history
  • Loading branch information
indes committed Jul 29, 2019
1 parent b1efddf commit 2758239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgraph/publish.go
Expand Up @@ -26,7 +26,7 @@ func PublishHtml(sourceTitle string, title string, rawLink string, html string)
rand.Seed(time.Now().Unix()) // initialize global pseudo random generator
client := clientPool[rand.Intn(len(clientPool))]

if page, err := client.CreatePageWithHTML(title+" - "+sourceTitle, authorName, authorUrl, html, true); err == nil {
if page, err := client.CreatePageWithHTML(title+" - "+sourceTitle, sourceTitle, rawLink, html, true); err == nil {
log.Printf("Created telegraph page url: %s", page.URL)
return page.URL, err
} else {
Expand Down

0 comments on commit 2758239

Please sign in to comment.