mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
calculate billable units when sending an sms
don't calculate it if we're in research mode * added tests to prove this * removed last code referring to content_char_count
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from flask import jsonify, current_app, Blueprint
|
||||
from flask import jsonify, Blueprint
|
||||
from apispec import APISpec
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ api_spec = APISpec(
|
||||
)
|
||||
|
||||
api_spec.definition('NotificationWithTemplateSchema', properties={
|
||||
"content_char_count": {
|
||||
"billable_units": {
|
||||
"format": "int32",
|
||||
"type": "integer"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user