diff --git a/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 b/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 index 53ba38e87d6..6ea4eb7d2bc 100644 --- a/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 +++ b/app/assets/javascripts/discourse/widgets/decorator-helper.js.es6 @@ -63,8 +63,8 @@ class DecoratorHelper { * return helper.cooked(`
Cook me
`); * ``` **/ - cooked(cooked) { - return new PostCooked({ cooked }); + cooked(cookedText) { + return new PostCooked({ cookedText }); } /**