Skip to content

Commit

Permalink
change adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Nov 13, 2024
1 parent 6d0eccb commit 76f22f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collective/volto/formsupport/datamanager/catalog.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from collective.volto.formsupport import logger
from collective.volto.formsupport.interfaces import ICollectiveVoltoFormsupportLayer
from collective.volto.formsupport.interfaces import IFormDataStore
from collective.volto.formsupport.utils import get_blocks
from copy import deepcopy
Expand All @@ -14,6 +13,7 @@
from souper.soup import Record
from zope.component import adapter
from zope.interface import implementer
from zope.interface import Interface


@implementer(ICatalogFactory)
Expand All @@ -27,7 +27,7 @@ def __call__(self, context):


@implementer(IFormDataStore)
@adapter(IDexterityContent, ICollectiveVoltoFormsupportLayer)
@adapter(IDexterityContent, Interface)
class FormDataStore:
def __init__(self, context, request):
self.context = context
Expand Down

0 comments on commit 76f22f6

Please sign in to comment.