Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ npm install profitwell --save
```js
const ProfitWell = require('profitwell')
const profitWell = new ProfitWell({
apiToken: 'Wx15BlcpDfVPWbsTdNX<3'
apiToken: ''
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The README usage example should provide a placeholder that guides users on where to obtain their API token, rather than an empty string. Consider using a descriptive placeholder like 'YOUR_API_TOKEN_HERE' or 'your-profitwell-api-token' with a comment explaining how to obtain it from the ProfitWell dashboard.

Copilot uses AI. Check for mistakes.
})
```

Expand Down
2 changes: 1 addition & 1 deletion test/resources/company.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const nock = require('nock')
const ProfitWell = require('../../src/index')
const profitWell = new ProfitWell({
apiToken: 'Field<3ProfitWell'
apiToken: ''
})

describe('Company', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/resources/metrics.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const nock = require('nock')
const ProfitWell = require('../../src/index')
const { monthlyMetrics, dailyMetrics } = require('./../../src/core')
const profitWell = new ProfitWell({
apiToken: 'Field<3ProfitWell'
apiToken: ''
})

describe('Metrics', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/resources/plans.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const nock = require('nock')
const ProfitWell = require('../../src/index')
const profitWell = new ProfitWell({
apiToken: 'Field<3ProfitWell'
apiToken: ''
})

describe('Plans', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/resources/subscriptions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const nock = require('nock')
const ProfitWell = require('../../src/index')
const { subscriptionStatus, planInterval, planCurrency, churnType } = require('./../../src/core')
const profitWell = new ProfitWell({
apiToken: 'Field<3ProfitWell'
apiToken: ''
})

describe('Subscriptions', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/resources/users.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const nock = require('nock')
const ProfitWell = require('../../src/index')
const profitWell = new ProfitWell({
apiToken: 'Field<3ProfitWell'
apiToken: ''
})

describe('Users', () => {
Expand Down
Loading