fix ManyToManyRelation to respect select from with query

This commit is contained in:
dswbx
2025-02-21 11:12:58 +01:00
parent 9ecfcb3e05
commit 837b0a3d43
3 changed files with 4 additions and 3 deletions

View File

@@ -82,7 +82,6 @@ export const withSchema = <TSelf extends TThis>(Self: TSelf) =>
// { "images": {} }
if (!Array.isArray(value) && isObject(value)) {
console.log("is object");
return value as RepoWithSchema;
}