Skip to content

Commit

Permalink
Fix bug in twitter panel where it used facebook settings
Browse files Browse the repository at this point in the history
  • Loading branch information
marteinn committed Feb 26, 2025
1 parent 2ec3fe5 commit 602d5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- Upgrade postgres image for development (@marteinn)
- Upgrade development version of python to 3.10 (@marteinn)
- Make sure test app can properly load templates (@marteinn)
- Fix bug in twitter panel where it used facebook settings (@marteinn)

### Removed
- Drop support for EOL python 3.8 (@marteinn)
Expand Down
2 changes: 1 addition & 1 deletion wagtail_meta_preview/panels.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class BoundPanel(Panel.BoundPanel):
template_name = "wagtail_meta_preview/preview_panel.html"

def get_context_data(self, parent_context=None):
twitter_settings = utils.FacebookSettings(self.instance)
twitter_settings = utils.TwitterSettings(self.instance)

context = super().get_context_data(parent_context)

Expand Down

0 comments on commit 602d5d9

Please sign in to comment.