remove unused codes

This commit is contained in:
venusbb
2017-10-25 12:50:13 +01:00
parent ae6b32d8e2
commit e8f659837a
6 changed files with 16 additions and 49 deletions

View File

@@ -98,7 +98,6 @@ from app.schemas import (
detailed_service_schema
)
from app.utils import pagination_links
from app.dao.notifications_dao import get_financial_year
service_blueprint = Blueprint('service', __name__)
@@ -170,8 +169,6 @@ def create_service():
raise InvalidRequest(errors, status_code=400)
# TODO: to be removed when front-end is updated
# if 'free_sms_fragment_limit' not in data:
# data['free_sms_fragment_limit'] = current_app.config['FREE_SMS_TIER_FRAGMENT_COUNT']
# validate json with marshmallow
service_schema.load(request.get_json())