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