feature/IO-3000-messaging-sockets-migration2 - Take last conversation if more than one exists.

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-11-26 10:29:57 -08:00
parent 5f1daffb3e
commit 63397769d2
4 changed files with 14 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ query FIND_BODYSHOP_BY_MESSAGING_SERVICE_SID($mssid: String!, $phone: String!) {
id
conversations(where: { phone_num: { _eq: $phone } }) {
id
created_at
}
}
}`;