Skip to content

Commit 18507ef

Browse files
committed
Merge pull request #14 from moxie-lean/rest-api
Update api namespace and version
2 parents 3ee5fb5 + 8c44566 commit 18507ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AbstractEndpoint.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function create() {
4646
* @since 0.1.0
4747
*/
4848
private function set_variables() {
49-
$this->namespace = apply_filters( Filters::API_NAMESPACE, 'leean', $this->endpoint );
50-
$this->version = apply_filters( Filters::API_VERSION, 'v1', $this->endpoint );
49+
$this->namespace = apply_filters( Filters::API_NAMESPACE, 'lean', $this->endpoint );
50+
$this->version = apply_filters( Filters::API_VERSION, 'v2', $this->endpoint );
5151
}
5252

5353
/**

0 commit comments

Comments
 (0)