Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const setOnHold = (callUUID, held) => {
const handle = calls[callUUID];
RNCallKeep.setOnHold(callUUID, held);
log(`[setOnHold: ${held}] ${format(callUUID)}, number: ${handle}`);
setCallHeld(callUUID, held);
};