Skip to content

Commit

Permalink
search_authors only admins
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Jan 19, 2022
1 parent 62aa09e commit e680e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MicroweberPackages/User/helpers/api_user.php
Expand Up @@ -63,9 +63,9 @@

});

api_expose('users/search_authors', function ($params = false) {
api_expose_admin('users/search_authors', function ($params = false) {

$return = array();
$return = array();

$kw = false;
if (isset($params['kw'])) {
Expand Down

0 comments on commit e680e13

Please sign in to comment.