Skip to content

Commit

Permalink
Docs(readme): userId is a string (#35)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
fvdm authored Dec 22, 2018
1 parent 3be7c07 commit 15ef2ba
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 @@ -34,7 +34,7 @@ require ('geoip2ws') (userId, licenseKey) (ip, callback);

```js
const geo = require ('geoip2ws') ({
userId: 12345,
userId: '12345',
licenseKey: 'abc678',
});

Expand Down Expand Up @@ -73,7 +73,7 @@ const geo = require ('geoip2ws') (1234, 'abc', 'country', 2000);

// Or with an object
const geo = require ('geoip2ws') ({
userId: 1234,
userId: '1234',
licenseKey: 'abc',
service: 'country',
requestTimeout: 2000
Expand Down

0 comments on commit 15ef2ba

Please sign in to comment.