mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-25 09:50:31 +00:00
invoke Inbox method in a goroutine
This commit is contained in:
parent
299b9619e1
commit
5cab5e7e00
1 changed files with 2 additions and 1 deletions
|
@ -85,5 +85,6 @@ func (f *Flowdock) send(fromAddress, subject, message string, tags []string) err
|
||||||
|
|
||||||
c := flowdock.Client{Token: f.Token, Source: f.Source, FromName: "drone.io", FromAddress: fromAddress, Tags: tags}
|
c := flowdock.Client{Token: f.Token, Source: f.Source, FromName: "drone.io", FromAddress: fromAddress, Tags: tags}
|
||||||
|
|
||||||
return c.Inbox(subject, message)
|
go c.Inbox(subject, message)
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue