Skip to content

Commit

Permalink
Fix XFormManagementView.get_xform_ids
Browse files Browse the repository at this point in the history
AttributeError: 'OTPMiddleware' object has no attribute 'process_request'
  • Loading branch information
millerdev committed Jul 14, 2020
1 parent d4c6b0f commit f7bbbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/data_interfaces/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def get_xform_ids(self, request):
_request.session = request.session

_request.GET = QueryDict(form_query_string)
OTPMiddleware().process_request(_request)
OTPMiddleware(lambda req: None)(_request)

dispatcher = EditDataInterfaceDispatcher()
xform_ids = dispatcher.dispatch(
Expand Down

0 comments on commit f7bbbdb

Please sign in to comment.