Commit e507e86f authored by Gabriel Rufino's avatar Gabriel Rufino Committed by Diego Sampaio

Fix typo in documentation: `onlineIDs` -> `onlineIds` (#105)

parent fd1869fe
...@@ -167,7 +167,7 @@ parameters defining the endpoint, payload and if authorization is required ...@@ -167,7 +167,7 @@ parameters defining the endpoint, payload and if authorization is required
(respectively). See the [REST API docs][rest] for details. (respectively). See the [REST API docs][rest] for details.
Some common requests for user queries are made available as simple helpers under Some common requests for user queries are made available as simple helpers under
`api.users`, such as `api.users.onlineIDs()` which returns the user IDs of all `api.users`, such as `api.users.onlineIds()` which returns the user IDs of all
online users. Run `ts-node src/utils/users.ts` for a demo of user query outputs. online users. Run `ts-node src/utils/users.ts` for a demo of user query outputs.
## MESSAGE OBJECTS ## MESSAGE OBJECTS
...@@ -507,7 +507,7 @@ Helper for querying online users ...@@ -507,7 +507,7 @@ Helper for querying online users
Helper for querying online usernames Helper for querying online usernames
- Returns promise, resolves with array of usernames - Returns promise, resolves with array of usernames
### `api.users.onlineIDs()` ### `api.users.onlineIds()`
Helper for querying online user IDs Helper for querying online user IDs
- Returns promise, resolves with array of IDs - Returns promise, resolves with array of IDs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment