ti2 1.0.32 → 1.0.33
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/controllers/allotment.js +1 -2
- package/package.json +1 -1
package/controllers/allotment.js
CHANGED
|
@@ -24,8 +24,7 @@ const queryAllotment = plugins => async (req, res, next) => {
|
|
|
24
24
|
assert(userAppKeys, 'could not find the app key');
|
|
25
25
|
const token = userAppKeys.appKey;
|
|
26
26
|
assert(app.queryAllotment, 'could not find the allotment method');
|
|
27
|
-
const
|
|
28
|
-
const results = await search({
|
|
27
|
+
const results = await app.queryAllotment({
|
|
29
28
|
token,
|
|
30
29
|
payload: query,
|
|
31
30
|
});
|