Skip to content

Commit 0723126

Browse files
committed
Use StrictJSONModel for report requests
1 parent 6177b76 commit 0723126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/models/report_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
from notifications_utils.s3 import s3download
66

77
from app import report_request_api_client
8-
from app.models import JSONModel
8+
from app.models import StrictJSONModel
99
from app.s3_client import check_s3_object_exists
1010

1111

12-
class ReportRequest(JSONModel):
12+
class ReportRequest(StrictJSONModel):
1313
id: Any
1414
user_id: Any
1515
service_id: Any

0 commit comments

Comments
 (0)