mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 06:51:45 -05:00
fix references to gds
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from flask import Blueprint, current_app, json, jsonify, request
|
||||
from gds_metrics.metrics import Counter
|
||||
from notifications_utils.recipients import try_validate_and_format_phone_number
|
||||
|
||||
from app.celery import tasks
|
||||
@@ -14,13 +13,6 @@ receive_notifications_blueprint = Blueprint('receive_notifications', __name__)
|
||||
register_errors(receive_notifications_blueprint)
|
||||
|
||||
|
||||
INBOUND_SMS_COUNTER = Counter(
|
||||
'inbound_sms',
|
||||
'Total number of inbound SMS received',
|
||||
['provider']
|
||||
)
|
||||
|
||||
|
||||
@receive_notifications_blueprint.route('/notifications/sms/receive/sns', methods=['POST'])
|
||||
def receive_sns_sms():
|
||||
"""
|
||||
@@ -64,8 +56,6 @@ def receive_sns_sms():
|
||||
result="success", message="SMS-SNS callback succeeded"
|
||||
), 200
|
||||
|
||||
INBOUND_SMS_COUNTER.labels("sns").inc()
|
||||
|
||||
content = message.get("messageBody")
|
||||
from_number = message.get('originationNumber')
|
||||
provider_ref = message.get('inboundMessageId')
|
||||
|
||||
Reference in New Issue
Block a user