Skip to content

Conversation

@Carlos-F-Braga
Copy link

No description provided.

Copilot AI review requested due to automatic review settings January 14, 2026 15:43
@Carlos-F-Braga Carlos-F-Braga self-assigned this Jan 14, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes exposed API tokens from test files and documentation to improve security. The PR title translates to "Correction <> Remove exposed keys" in Portuguese.

Changes:

  • Replaces actual API tokens with empty strings in all test files
  • Updates README.md example to use an empty string instead of an exposed token

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
test/resources/users.spec.js Removes exposed API token from test setup
test/resources/subscriptions.spec.js Removes exposed API token from test setup
test/resources/plans.spec.js Removes exposed API token from test setup
test/resources/metrics.spec.js Removes exposed API token from test setup
test/resources/company.spec.js Removes exposed API token from test setup
README.md Removes exposed API token from usage example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.
@lfreneda lfreneda closed this Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants