Send bookmarks to Raindrop

This commit is contained in:
2023-06-21 21:26:01 +10:00
parent 164e7496fd
commit 02ade37265
4 changed files with 27 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
Hanami.app.register_provider :syndication, namespace: true do
start do
register "mastodon", Adamantium::Syndication::Mastodon.new
register "raindrop", Adamantium::Syndication::Raindrop.new(api_key: target["settings"].raindrop_api_key)
register "raindrop", Adamantium::Syndication::Raindrop.new(api_key: "Bearer #{target["settings"].raindrop_api_key}")
register "dayone", Adamantium::Syndication::Dayone.new(
username: target["settings"].smtp_username,
password: target["settings"].smtp_password,