Skip to content

Commit

Permalink
Fix typo in documentation: onlineIDs -> onlineIds (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielrufino authored and sampaiodiego committed Nov 11, 2019
1 parent fd1869f commit e507e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ parameters defining the endpoint, payload and if authorization is required
(respectively). See the [REST API docs][rest] for details.

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.

## MESSAGE OBJECTS
Expand Down Expand Up @@ -507,7 +507,7 @@ Helper for querying online users
Helper for querying online usernames
- Returns promise, resolves with array of usernames

### `api.users.onlineIDs()`
### `api.users.onlineIds()`

Helper for querying online user IDs
- Returns promise, resolves with array of IDs
Expand Down

0 comments on commit e507e86

Please sign in to comment.