aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/wiki/edit.py
diff options
context:
space:
mode:
authorGravatar Joseph <[email protected]>2018-06-17 23:02:47 +0100
committerGravatar Joseph <[email protected]>2018-06-17 23:02:47 +0100
commit8b74b6b3e2a501a9b9e9d804708b4184c58e4e20 (patch)
tree27799e147a8a701693394d887f03f79c0e98dcef /pysite/views/wiki/edit.py
parentAdd param to audit_log function so that old data can be None and still work (diff)
Change which key is being fetched, should be last commit to fix this
Diffstat (limited to 'pysite/views/wiki/edit.py')
-rw-r--r--pysite/views/wiki/edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/views/wiki/edit.py b/pysite/views/wiki/edit.py
index c5126c76..0c654b63 100644
--- a/pysite/views/wiki/edit.py
+++ b/pysite/views/wiki/edit.py
@@ -137,7 +137,7 @@ class EditView(RouteView, DBMixin, RMQMixin):
{
"target": CHANNEL_MOD_LOG,
"title": "Page Edit",
- "description": f"**{new_data['post']['title']}** edited by **{self.user_data.get('username')}**. "
+ "description": f"**{new_data['title']}** edited by **{self.user_data.get('username')}**. "
f"[View the diff here]({link})",
"color": 0x3F8DD7, # Light blue
"timestamp": datetime.datetime.now().isoformat()