Use app's form_cache
This commit is contained in:
parent
5447be8b52
commit
2f04571767
@ -13,7 +13,6 @@ from atst.domain.requests.financial_verification import (
|
||||
)
|
||||
from atst.models.attachment import Attachment
|
||||
from atst.domain.task_orders import TaskOrders
|
||||
from atst.utils.form_cache import FormCache
|
||||
|
||||
|
||||
def fv_extended(_http_request):
|
||||
@ -95,7 +94,7 @@ class FinancialVerificationBase(object):
|
||||
def existing_form_data():
|
||||
key = http_request.args.get("formCache")
|
||||
if key:
|
||||
return FormCache(app.redis).read(key)
|
||||
return app.form_cache.read(key)
|
||||
|
||||
|
||||
class GetFinancialVerificationForm(FinancialVerificationBase):
|
||||
|
Loading…
x
Reference in New Issue
Block a user