mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Fix bad if/then.
This commit is contained in:
@@ -61,8 +61,8 @@ class DeleteController extends Controller
|
||||
*
|
||||
* @return Application|Factory|View
|
||||
*/
|
||||
public function index(Webhook $webhook) {
|
||||
|
||||
public function index(Webhook $webhook)
|
||||
{
|
||||
Log::channel('audit')->info('User visits webhook delete page.');
|
||||
if(false === config('firefly.allow_webhooks')) {
|
||||
throw new NotFoundHttpException('Webhooks are not enabled.');
|
||||
|
Reference in New Issue
Block a user