Nexmo / comms-router

A server which allows you to route tasks to agents.
Apache License 2.0
19 stars 11 forks source link

It should not be allowed to add skill with no domain #95

Closed angel-popov closed 6 years ago

angel-popov commented 6 years ago

Create new skill with domain null. Result:pass Request:curl -s -X POST 'http://192.168.1.166:8080/comms-router-web/api/routers/router-ivr/skills' -H 'Content-type:application/json' -d "{\"description\":\"description\",\"domain\":null,\"multivalue\":true}" Response:{"ref":"PRcS0rTjGAgrtnR1AODIt"}

ikrustev commented 6 years ago

Should be fixed now.