Skip to content

Commit 602d5d9

Browse files
committed
Fix bug in twitter panel where it used facebook settings
1 parent 2ec3fe5 commit 602d5d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Upgrade postgres image for development (@marteinn)
1818
- Upgrade development version of python to 3.10 (@marteinn)
1919
- Make sure test app can properly load templates (@marteinn)
20+
- Fix bug in twitter panel where it used facebook settings (@marteinn)
2021

2122
### Removed
2223
- Drop support for EOL python 3.8 (@marteinn)

wagtail_meta_preview/panels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class BoundPanel(Panel.BoundPanel):
88
template_name = "wagtail_meta_preview/preview_panel.html"
99

1010
def get_context_data(self, parent_context=None):
11-
twitter_settings = utils.FacebookSettings(self.instance)
11+
twitter_settings = utils.TwitterSettings(self.instance)
1212

1313
context = super().get_context_data(parent_context)
1414

0 commit comments

Comments
 (0)