add telegram webhooks
This commit is contained in:
parent
90c51a82dc
commit
f72631e072
|
@ -68,7 +68,7 @@ func getTelegramPushPayload(p *api.PushPayload) (*TelegramPayload, error) {
|
|||
commitDesc string
|
||||
)
|
||||
|
||||
var titleLink, linkText string
|
||||
var titleLink string
|
||||
if len(p.Commits) == 1 {
|
||||
commitDesc = "1 new commit"
|
||||
titleLink = p.Commits[0].URL
|
||||
|
|
Loading…
Reference in New Issue
Block a user