We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8824285 + 45b23fb commit daf52c2Copy full SHA for daf52c2
1 file changed
src/routes/dossiers/campaignId/_put/index.ts
@@ -174,10 +174,14 @@ export default class RouteItem extends UserRoute<{
174
175
if (!project || !project.customer_id) return;
176
177
- await tryber.tables.CpReqPlans.do().update({
178
- workspace_id: project.customer_id,
179
- project_id: project.id,
180
- });
+ await tryber.tables.CpReqPlans.do()
+ .update({
+ workspace_id: project.customer_id,
+ project_id: project.id,
181
+ })
182
+ .where({
183
+ id: plan.plan_id,
184
+ });
185
}
186
187
private async updateTesterVisibilityCriteria() {
0 commit comments