chore(8.0): final pre-RC1 sweep — API consistency, named errors, orphans, zero-cast codebase
This commit is contained in:
parent
970e08c466
commit
1f7e365a4e
237 changed files with 1951 additions and 49413 deletions
|
|
@ -552,7 +552,7 @@ export class GoogleSheetsIntegration
|
|||
return this.errorResponse(400, 'Missing required field: id')
|
||||
}
|
||||
|
||||
await this.context.brain.delete(body.id)
|
||||
await this.context.brain.remove(body.id)
|
||||
|
||||
return this.jsonResponse({ success: true, deleted: body.id })
|
||||
}
|
||||
|
|
@ -595,7 +595,7 @@ export class GoogleSheetsIntegration
|
|||
break
|
||||
|
||||
case 'delete':
|
||||
await this.context.brain.delete(op.id)
|
||||
await this.context.brain.remove(op.id)
|
||||
results.push({ success: true, id: op.id, action: 'delete' })
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue