Fix dayone client

This commit is contained in:
2023-03-08 08:25:33 +11:00
parent 50658748c5
commit 182abb092e
2 changed files with 11 additions and 4 deletions

View File

@@ -2,6 +2,11 @@ Hanami.app.register_provider :syndication, namespace: true do
start do
register "mastodon", Adamantium::Syndication::Mastodon.new
register "pinboard", Adamantium::Syndication::Pinboard.new(api_key: target["settings"].pinboard_api_key)
register "dayone", Adamantium::Syndication::Dayone.new(username: target["settings"].smtp_username, password: target["settings"].smtp_password)
register "dayone", Adamantium::Syndication::Dayone.new(
username: target["settings"].smtp_username,
password: target["settings"].smtp_password,
to: target["settings"].dayone_email,
from: target["settings"].from_email
)
end
end