Skip to content

Commit

Permalink
refactor to add restapi endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
cekk committed May 13, 2024
1 parent 7157c4e commit 3035d86
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/rer/newsletter/content/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
from plone import api
from plone.app.contenttypes.content import Folder
from plone.app.layout.viewlets.content import ContentHistoryView
from rer.newsletter import _
from rer.newsletter.adapter.sender import IChannelSender
from rer.newsletter.content.channel import Channel
from rer.newsletter.interfaces import IMessage
from rer.newsletter.utils import compose_sender
from rer.newsletter.utils import get_site_title
from rer.newsletter.utils import OK
from zope.component import getMultiAdapter
from zope.component import queryUtility
from zope.interface import implementer


import re

try:
from collective.taskqueue.interfaces import ITaskQueue
from rer.newsletter.queue.handler import QUEUE_NAME
Expand All @@ -28,9 +28,6 @@
KEY = "rer.newsletter.message.details"


import re


@implementer(IMessage)
class Message(Folder):

Expand Down

0 comments on commit 3035d86

Please sign in to comment.