@kustomer/apps-common
Advanced tools
Comparing version 0.2.26 to 0.2.27
@@ -24,4 +24,3 @@ import { WithID } from '../common'; | ||
avatarUrl?: string | undefined; | ||
locale?: string | undefined; | ||
/** | ||
locale?: string | undefined; /** | ||
* get a customer by phone | ||
@@ -28,0 +27,0 @@ * @param phone customer phone (unique) |
@@ -16,3 +16,3 @@ "use strict"; | ||
try { | ||
const res = await this.axios.get(`/v1/customers/id=${id}`); | ||
const res = await this.axios.get(`/v1/customers/${id}`); | ||
return { | ||
@@ -19,0 +19,0 @@ id: res.data.data.id, |
@@ -24,4 +24,3 @@ import { WithID } from '../common'; | ||
avatarUrl?: string | undefined; | ||
locale?: string | undefined; | ||
/** | ||
locale?: string | undefined; /** | ||
* get a customer by phone | ||
@@ -28,0 +27,0 @@ * @param phone customer phone (unique) |
@@ -13,3 +13,3 @@ import { namespace } from '../utils'; | ||
try { | ||
const res = await this.axios.get(`/v1/customers/id=${id}`); | ||
const res = await this.axios.get(`/v1/customers/${id}`); | ||
return { | ||
@@ -16,0 +16,0 @@ id: res.data.data.id, |
{ | ||
"name": "@kustomer/apps-common", | ||
"version": "0.2.26", | ||
"version": "0.2.27", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
279436
3456