Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/https-proxy-agent-…
Browse files Browse the repository at this point in the history
…2.2.4
  • Loading branch information
moshie authored Nov 4, 2020
2 parents f6bfb0a + d31aeb7 commit c0bb462
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 299 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,17 @@ process.env.TW_SUB = 'subdomain'
const tw = require('teamwork-api')()
```

Alternativly pass them in as function arguments
Alternatively pass them in as function arguments

```js
const tw = require('teamwork-api')('1234567890', 'subdomain')
```

If your teamwork installation uses a custom domain (ie. https://tw.mycompany.com) pass the `custom_domain=true` flag.
```js
const tw = require('teamwork-api')('1234567890', 'https://tw.mycompany.com', custom_domain=true)
```

## Contributing

I am happy for people to contribute to this project, fix or add new features.
Expand Down
Loading

0 comments on commit c0bb462

Please sign in to comment.