Skip to content

Commit

Permalink
Updated route registration for completions
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Price authored and Phil Price committed Apr 26, 2022
1 parent 009b6a7 commit 12b00fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Rest/SitkaRestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function register_routes() {
register_rest_route(static::API_NAMESPACE, '/completions', [
'methods' => 'GET',
'callback' => [$this, 'completions_action'],
'permission_callback' => '__return_true'
]);
}

Expand Down

0 comments on commit 12b00fd

Please sign in to comment.