Skip to content

Commit

Permalink
update doc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbarlow committed Aug 30, 2019
1 parent d182848 commit 3f9fd64
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ account and OAuth 2.0 tokens. The strategy requires a `verify` callback, which
accepts these credentials and calls `done` providing a user, as well as
`options` specifying a client ID, client secret, and callback URL.

```Javascript
```javascript
var HubSpotStrategy = require( 'passport-hubspot-auth' ).Strategy;

passport.use(new HubSpotStrategy({
Expand All @@ -40,7 +40,7 @@ passport.use(new HubSpotStrategy({
```
Conversely, if you don't want the request to be available, omit `passReqToCallback` or set it to false

```Javascript
```javascript
var HubSpotStrategy = require( 'passport-hubspot-auth' ).Strategy;

passport.use(new HubSpotStrategy({
Expand All @@ -55,7 +55,7 @@ passport.use(new HubSpotStrategy({
));
```

```Javascript
```javascript
var HubSpotStrategy = require( 'passport-hubspot-auth' ).Strategy;

passport.use(new HubSpotStrategy({
Expand All @@ -77,7 +77,7 @@ authenticate requests.
For example, as route middleware in an [Express](http://expressjs.com/)
application:

```Javascript
```javascript
app.get('/auth/hubspot',
passport.authenticate('google', { scope: 'contacts content' }
));
Expand Down

0 comments on commit 3f9fd64

Please sign in to comment.