mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-07-23 04:21:56 +00:00
bugfix: createCall REST API to Teams endpoint was being blocked
This commit is contained in:
@@ -75,6 +75,7 @@ function validateTo(to) {
|
||||
if (to && typeof to === 'object') {
|
||||
switch (to.type) {
|
||||
case 'phone':
|
||||
case 'teams':
|
||||
if (typeof to.number === 'string') return;
|
||||
break;
|
||||
case 'user':
|
||||
|
||||
Reference in New Issue
Block a user