mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 14:59:49 -04:00
merged codes
This commit is contained in:
@@ -10,23 +10,13 @@ from flask_login import login_required
|
||||
from app.main import main
|
||||
from app import inbound_number_client
|
||||
from app.utils import user_has_permissions
|
||||
from flask import jsonify
|
||||
|
||||
|
||||
@main.route('/inbound-sms-admin', methods=['GET', 'POST'])
|
||||
@login_required
|
||||
@user_has_permissions(admin_override=True)
|
||||
def inbound_sms_admin():
|
||||
#data = user_api_client.get_inboundsms_number_service()
|
||||
data = inbound_number_client.get_inbound_sms_number_service()
|
||||
|
||||
# return jsonify(data)
|
||||
|
||||
return render_template('views/inbound_sms_admin.html',
|
||||
inbound_num_list = data)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
data = inbound_number_client.get_all_inbound_sms_number_service()
|
||||
|
||||
return render_template('views/inbound_sms_admin.html', inbound_num_list=data)
|
||||
|
||||
Reference in New Issue
Block a user