@marteye/studiojs 1.1.30 → 1.1.31
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.d.ts +2 -2
- package/dist/index.esm.js +5 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/resources/customers.d.ts +1 -1
- package/dist/resources.d.ts +1 -1
- package/dist/studio.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -212,7 +212,11 @@ function create$a(httpClient) {
|
|
|
212
212
|
return null;
|
|
213
213
|
},
|
|
214
214
|
getByMartEyeUid: async (marketId, marteyeUid) => {
|
|
215
|
-
|
|
215
|
+
let customers = await httpClient.get(`/${marketId}/customers`, { marteyeUid });
|
|
216
|
+
if (customers.length) {
|
|
217
|
+
return customers[0];
|
|
218
|
+
}
|
|
219
|
+
return null;
|
|
216
220
|
},
|
|
217
221
|
};
|
|
218
222
|
return customers;
|