Fix pinboard integration

This commit is contained in:
2023-02-01 21:24:02 +11:00
parent 1defc79496
commit 9309c2c104
5 changed files with 11 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
Hanami.app.register_provider :syndication, namespace: true do
start do
register "mastodon", Adamantium::Syndication::Mastodon.new
register "pinboard", Adamantium::Syndication::Pinboard.new(api_key: settings.pinboard_api_key)
register "pinboard", Adamantium::Syndication::Pinboard.new(api_key: target["settings"].pinboard_api_key)
end
end