Refactored JsonPayload to JsonResponse
This commit is contained in:
parent
d13341dd5b
commit
6581385ab9
16 changed files with 37 additions and 43 deletions
|
|
@ -3,7 +3,7 @@ from werkzeug.exceptions import BadRequest
|
|||
from flask import url_for
|
||||
|
||||
|
||||
class JsonPayload:
|
||||
class JsonResponse:
|
||||
def __init__(self, request):
|
||||
"""
|
||||
Object to wrap up simple functionality for parsing a JSON response.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue