Compare commits
3 Commits
develop
...
ac30269c81
Author | SHA1 | Date | |
---|---|---|---|
ac30269c81 | |||
1d4b0cbac3 | |||
83784bec8f |
@ -70,7 +70,11 @@ async function initRingCentralSDK() {
|
|||||||
});
|
});
|
||||||
const platform = sdk.platform();
|
const platform = sdk.platform();
|
||||||
platform.on(platform.events.refreshError, (err) => {
|
platform.on(platform.events.refreshError, (err) => {
|
||||||
console.error(err);
|
console.error("Refresh error", err);
|
||||||
|
});
|
||||||
|
const client = sdk.client();
|
||||||
|
client.on(client.events.beforeRequest, (request) => {
|
||||||
|
console.log(request.url);
|
||||||
});
|
});
|
||||||
await sdk.login({
|
await sdk.login({
|
||||||
username: process.env.RC_LOGIN_USERNAME,
|
username: process.env.RC_LOGIN_USERNAME,
|
||||||
|
@ -296,7 +296,7 @@ export function ticketize(
|
|||||||
*/
|
*/
|
||||||
async function getMissingTranscriptionVoicemails() {
|
async function getMissingTranscriptionVoicemails() {
|
||||||
return await db("voicemails")
|
return await db("voicemails")
|
||||||
.whereNotNull("transcription")
|
.whereNull("transcription")
|
||||||
.whereNotIn("transcriptionStatus", [
|
.whereNotIn("transcriptionStatus", [
|
||||||
// Don't include those whose transcriptions have failed or will not
|
// Don't include those whose transcriptions have failed or will not
|
||||||
// be completed.
|
// be completed.
|
||||||
|
Reference in New Issue
Block a user