Commit 3a87d67
Fix database-loader delete() to use correct driver signature
The driver.delete() method expects (object, id, options) but was being
called with {object, where} which caused TypeScript error TS2345.
Now correctly passes existing.id as the second parameter.
Fixes: error TS2345: Argument of type '{ object: string; where: Record...'
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/c97d6820-b99b-498b-a344-69f22d7d3faf
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 200ef60 commit 3a87d67
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
| 611 | + | |
| 612 | + | |
616 | 613 | | |
617 | 614 | | |
618 | 615 | | |
| |||
0 commit comments