theprogrammablemind_4wp 7.7.0-beta.11 → 7.7.0-beta.13
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/config.js +2 -0
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -985,6 +985,8 @@ class Config {
|
|
985
985
|
return query
|
986
986
|
} else if (typeof queryOrConfig == 'function') {
|
987
987
|
return { apply: queryOrConfig.toString() }
|
988
|
+
} else if (queryOrConfig.apply) {
|
989
|
+
return { apply: queryOrConfig.apply }
|
988
990
|
} else {
|
989
991
|
const config = { ...queryOrConfig }
|
990
992
|
delete config.where
|