From dad0b56f48895c39ab48751dcd16d80d58122e02 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 25 Mar 2019 13:08:49 +0100 Subject: [PATCH] Add endpoint discovery --- src/Console/AsmpCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } /**