We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a300f83 commit 8ef2973Copy full SHA for 8ef2973
1 file changed
adminforth/modules/restApi.ts
@@ -1482,8 +1482,6 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
1482
for (const childRecord of childRecords) {
1483
await this.adminforth.resource(childRes.resourceId).update(childRecord.id, {[foreignResourceColumn.name]: null});
1484
}
1485
- } else {
1486
- return { error: `Wrong onDelete strategy: ${onDeleteStrategy}` };
1487
1488
1489
0 commit comments