Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: fixed code issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zubair-ce07 committed Sep 14, 2023
1 parent 1003813 commit 391d471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/dashboard/offers/views.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ def _store_form_kwargs(self, form):
def _fetch_form_kwargs(self):

session_data = self.request.session.setdefault(self.wizard_name, {})
json_data = session_data.get(self._key(step_name), None)
json_data = session_data.get(self._key(self.step_name), None)
if json_data:
form_kwargs = json.loads(json_data)
form_kwargs['data']['site'] = Site.objects.get(pk=form_kwargs['data']['site_id'])

0 comments on commit 391d471

Please sign in to comment.