1
0
Fork 0
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:
Frédéric Guillot 2023-09-30 14:55:33 -07:00
parent f98fc1e03a
commit a96702757e
2 changed files with 5 additions and 3 deletions

View file

@ -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"