mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Fix Apprise logic to handle feed service URLs
This commit is contained in:
parent
f98fc1e03a
commit
a96702757e
2 changed files with 5 additions and 3 deletions
|
@ -28,7 +28,7 @@ func NewClient(serviceURL, baseURL string) *Client {
|
|||
|
||||
func (c *Client) SendNotification(entry *model.Entry) error {
|
||||
if c.baseURL == "" || c.servicesURL == "" {
|
||||
return fmt.Errorf("apprise: missing base URL or service URL")
|
||||
return fmt.Errorf("apprise: missing base URL or services URL")
|
||||
}
|
||||
|
||||
message := "[" + entry.Title + "]" + "(" + entry.URL + ")" + "\n\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue