Skip to content

Commit

Permalink
fix(rss): write rss to rssstore instead of absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
JM-Lemmi committed Sep 24, 2024
1 parent 994ccf2 commit 448c2d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/sys-tests/testcase-6/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ notifiers:
source: "file:///etc/ical-relay/test_changed.ics"
recipients:
- type: "rss"
recipient: "/etc/ical-relay/rssstore/test.rss"
recipient: "test.rss"
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.0.0-beta.9.3

- write RSS to rssstore instead of absolute path

# 2.0.0-beta.9.2

- implement single run notifier with cli arg
Expand Down
2 changes: 1 addition & 1 deletion cmd/ical-notifier/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func notifyChanges(notifierName string, notifier datastore.Notifier) error {
err = sendNotifyMail(notifierName, rec.Recipient, added, deleted, changed_new)

case "rss":
err = sendRSSFeed(notifierName, rec.Recipient, added, deleted, changed_new)
err = sendRSSFeed(notifierName, conf.General.StoragePath+"rssstore/"+rec.Recipient, added, deleted, changed_new)

case "database":
err = sendDatabaseHistory(notifierName, rec.Recipient, added, deleted, changed_old, changed_new)
Expand Down

0 comments on commit 448c2d4

Please sign in to comment.