Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Apr 19, 2024
1 parent b236aa5 commit ed1ef16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/develop/plugins/server_plugin_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ These functions are available via the `app` object passed to the plugin when it

### Discover Features

#### `app.getFeatures(enabedOnly)`
#### `app.getFeatures(enabed)`

Returns an object detailing the available APIs and Plugins.

The `enabledOnly` parameter is optional and has the following values:
The `enabled` parameter is optional and has the following values:
- `undefined` (not provided): list all features
- `true`: list only enabled features
- `false`: list only disabled features

_Example:_
```javascript
let baseStations = app.getFeatures();
let features = app.getFeatures();

{
"apis": [
Expand Down

0 comments on commit ed1ef16

Please sign in to comment.