Skip to content

Commit 01a718a

Browse files
committed
pust to slack added
1 parent 4bdcf45 commit 01a718a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

controller/contribute.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ public function post(){
9393
]
9494
];
9595
$url = sprintf('https://hooks.slack.com/services/%s', $this->getConfig('slack_board_webhook'));
96+
$post = json_encode($post);
97+
98+
$this->callAPI('POST', $url, $post, $headers);
9699
}else{
97100
$message = 'Please correct the form errors to continue your submission.';
98101
}

0 commit comments

Comments
 (0)