This commit is contained in:
Adria Navarro 2024-07-09 10:21:46 +02:00
parent 0f1c8eb788
commit 5387717183
1 changed files with 0 additions and 3 deletions

View File

@ -116,9 +116,6 @@ export function breakRowIdField(_id: string | { _id: string }): any[] {
return Array.isArray(parsed) ? parsed : [parsed]
} catch (err) {
// wasn't json - likely was handlebars for a many to many
if (Array.isArray(_id)) {
return _id
}
return [_id]
}
}