@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | { |
19 | 19 | add_action('admin_menu', [$this, 'enqueue_styles'], 20); |
20 | 20 | add_action('admin_enqueue_scripts', [$this, 'enqueue_scripts'], 10, 1); |
21 | - add_action('rest_api_init', function () { |
|
21 | + add_action('rest_api_init', function() { |
|
22 | 22 | register_rest_route('kmm/v2', '/alive', [ |
23 | 23 | 'methods' => 'POST', |
24 | 24 | 'callback' => [$this, 'check_alive'], |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | |
46 | 46 | $msg .= 'PostID: ' . $post . "\n"; |
47 | 47 | |
48 | - if (! is_user_logged_in()) { |
|
48 | + if ( ! is_user_logged_in()) { |
|
49 | 49 | do_action('krn_send_slack', ['channel' => '#debug-editor', 'text' => $msg], true); |
50 | 50 | } |
51 | 51 |