Resolve break with Phone Package.
This commit is contained in:
@@ -39,7 +39,7 @@ export function* openChatByPhone({ payload }) {
|
|||||||
data: { conversations },
|
data: { conversations },
|
||||||
} = yield client.query({
|
} = yield client.query({
|
||||||
query: CONVERSATION_ID_BY_PHONE,
|
query: CONVERSATION_ID_BY_PHONE,
|
||||||
variables: { phone: phone(phone_num)[0] },
|
variables: { phone: phone(phone_num).phoneNumber },
|
||||||
fetchPolicy: "network-only",
|
fetchPolicy: "network-only",
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -53,7 +53,7 @@ export function* openChatByPhone({ payload }) {
|
|||||||
variables: {
|
variables: {
|
||||||
conversation: [
|
conversation: [
|
||||||
{
|
{
|
||||||
phone_num: phone(phone_num)[0],
|
phone_num: phone(phone_num).phoneNumber,
|
||||||
bodyshopid: bodyshop.id,
|
bodyshopid: bodyshop.id,
|
||||||
job_conversations: jobid ? { data: { jobid: jobid } } : null,
|
job_conversations: jobid ? { data: { jobid: jobid } } : null,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user