diff --git a/src/Console/AsmpCommand.php b/src/Console/AsmpCommand.php index 97aeea0..4a7b50f 100644 --- a/src/Console/AsmpCommand.php +++ b/src/Console/AsmpCommand.php @@ -101,7 +101,7 @@ public function version( array $args = [], array $assoc_args = [] ): void { public function endpoint( array $args = [], array $assoc_args = [] ): void { $this->ensure_asmp_is_available(); - WP_CLI::log( \getenv( ASMP::VERSION ) ); + WP_CLI::log( \getenv( ASMP::ENDPOINT ) ); } /**