Skip to content

feat(PM-1379): cancel copilot opportunity #825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 19, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: lint
  • Loading branch information
hentrymartin committed Jun 19, 2025
commit c3390fc33a9ee9d1b5f45ba8ac5798995dce47c3
2 changes: 1 addition & 1 deletion src/routes/copilotOpportunity/delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = [
transaction,
});

const applications = await models.CopilotApplications.findAll({
const applications = await models.CopilotApplication.findAll({

Choose a reason for hiding this comment

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

The model name CopilotApplications was changed to CopilotApplication. Ensure that this change is consistent across the entire codebase to prevent any potential issues with model references.

where: {
opportunityId: opportunity.id,
},
Expand Down