@ccci/micro-server 1.0.170 → 1.0.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -297666,8 +297666,9 @@ function ConstructQuery(query) {
|
|
|
297666
297666
|
Logger.info(`pair: ${JSON.stringify(pair)}`);
|
|
297667
297667
|
let associationkey = pair[0];
|
|
297668
297668
|
Logger.info(`associationkey: ${JSON.stringify(associationkey)}`);
|
|
297669
|
-
association.
|
|
297670
|
-
|
|
297669
|
+
association.through = { where: {} };
|
|
297670
|
+
association.through.where[associationkey] = pair[1];
|
|
297671
|
+
Logger.info(`association.where: ${JSON.stringify(association)}`);
|
|
297671
297672
|
}
|
|
297672
297673
|
}
|
|
297673
297674
|
includes.push(association);
|