We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b9eed9 commit e208bc1Copy full SHA for e208bc1
src/routes/copilotOpportunity/assign.js
@@ -190,6 +190,19 @@ module.exports = [
190
transaction: t,
191
});
192
193
+ await opportunity.update({
194
+ status: COPILOT_OPPORTUNITY_STATUS.COMPLETED,
195
+ }, {
196
+ transaction: t,
197
+ });
198
+
199
200
+ await copilotRequest.update({
201
+ status: COPILOT_REQUEST_STATUS.FULFILLED,
202
203
204
205
206
// Cancel other applications
207
const otherApplications = await models.CopilotApplication.findAll({
208
where: {
0 commit comments