Commit 7b1fe84
committed
fix(vercel): fix silent project-rename leak in update_project
- update_project had no dedicated rename field and just returned base directly, so a stale value from create_deployment's unrelated 'name' subBlock (Project Name for the deployment) could silently flow through and rename a project on update
- add a dedicated 'New Project Name' field for update_project, wired with a direct override so it always takes precedence over any stale leaked value1 parent 4d7f749 commit 7b1fe84
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
383 | 391 | | |
384 | 392 | | |
385 | 393 | | |
| |||
1437 | 1445 | | |
1438 | 1446 | | |
1439 | 1447 | | |
| 1448 | + | |
1440 | 1449 | | |
1441 | 1450 | | |
1442 | 1451 | | |
| |||
1548 | 1557 | | |
1549 | 1558 | | |
1550 | 1559 | | |
1551 | | - | |
| 1560 | + | |
1552 | 1561 | | |
1553 | 1562 | | |
1554 | 1563 | | |
| |||
1769 | 1778 | | |
1770 | 1779 | | |
1771 | 1780 | | |
| 1781 | + | |
1772 | 1782 | | |
1773 | 1783 | | |
1774 | 1784 | | |
| |||
0 commit comments