Skip to content

Commit

Permalink
fix: fixes make doc wording (#76)
Browse files Browse the repository at this point in the history
* fix: changes wording of vehicleInfo.make description

* chore: reverts accidental README change
  • Loading branch information
morgannewman authored and allisonc07 committed Apr 1, 2019
1 parent 370591c commit 9d7212e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ approval_prompt to `force`.
| [options] | <code>Object</code> | | |
| [options.state] | <code>String</code> | | OAuth state parameter passed to the redirect uri. This parameter may be used for identifying the user who initiated the request. |
| [options.forcePrompt] | <code>Boolean</code> | <code>false</code> | Setting `forcePrompt` to `true` will show the permissions approval screen on every authentication attempt, even if the user has previously consented to the exact scope of permissions. |
| [options.vehicleInfo.make] | <code>Object</code> | | `vehicleInfo` is an object with an optional property `make`. When included, the OEM selector screen is bypassed, allowing the user to go directly to the vehicle login screen. For a complete list of supported makes, please see our [API Reference](https://smartcar.com/docs/api#authorization) documentation. |
| [options.vehicleInfo.make] | <code>Object</code> | | `vehicleInfo` is an object with an optional property `make`. An optional parameter that allows users to bypass the car brand selection screen. For a complete list of supported makes, please see our [API Reference](https://smartcar.com/docs/api#authorization) documentation. |

**Example**
```js
Expand Down
7 changes: 4 additions & 3 deletions lib/auth-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,10 @@ function AuthClient(options) {
* attempt, even if the user has previously consented to the exact scope of
* permissions.
* @param {Object} [options.vehicleInfo.make] - `vehicleInfo` is an
* object with an optional property `make`. When included, the OEM selector
* screen is bypassed, allowing the user to go directly to the vehicle
* login screen. For a complete list of supported makes, please see our [API Reference](https://smartcar.com/docs/api#authorization) documentation.
* object with an optional property `make`. An optional parameter that allows
* users to bypass the car brand selection screen.
* For a complete list of supported makes, please see our
* [API Reference](https://smartcar.com/docs/api#authorization) documentation.
* @return {String} OAuth authorization URL to direct user to.
* @example
* https://connect.smartcar.com/oauth/authorize?
Expand Down

0 comments on commit 9d7212e

Please sign in to comment.