Skip to content

Commit dde1484

Browse files
authored
Merge pull request #118 from LoveMyData/master
fixed doco
2 parents 20d0e21 + db383e1 commit dde1484

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,9 @@ Inside your CommentsTable class after saving the data you execute this hook:
240240
/** @var \Queue\Model\Table\QueuedJobsTable $QueuedJobs */
241241
$QueuedJobs = TableRegistry::get('Queue.QueuedJobs');
242242
$data = [
243-
'subject' => __('New comment submitted by {0}', $comment->name),
243+
'settings' => [
244+
'subject' => __('New comment submitted by {0}', $comment->name)
245+
],
244246
'vars' => [
245247
'comment' => $comment->toArray()
246248
]

0 commit comments

Comments
 (0)