Refactored endpoints

This commit is contained in:
Ken Tsang
2017-08-16 12:50:44 +01:00
parent 104fc93503
commit 838401ebb3
3 changed files with 80 additions and 25 deletions
-1
View File
@@ -22,7 +22,6 @@ def dao_get_inbound_number(inbound_number_id):
@transactional
def dao_set_inbound_number_to_service(service_id, inbound_number):
inbound_number.service_id = service_id
db.session.add(inbound_number)