mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
@@ -14,9 +14,8 @@ from seahub.api2.throttling import UserRateThrottle
|
||||
from seahub.notifications.models import UserNotification
|
||||
|
||||
from seahub.notifications.models import get_cache_key_of_unseen_notifications
|
||||
from seahub.notifications.views import add_notice_from_info
|
||||
from seahub.notifications.utils import update_notice_detail
|
||||
from seahub.api2.utils import api_error, to_python_boolean
|
||||
from seahub.api2.utils import api_error
|
||||
from seahub.utils.timeutils import datetime_to_isoformat_timestr
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -117,7 +116,6 @@ class NotificationsView(APIView):
|
||||
return Response({'success': True})
|
||||
|
||||
|
||||
|
||||
class NotificationView(APIView):
|
||||
|
||||
authentication_classes = (TokenAuthentication, SessionAuthentication)
|
||||
|
Reference in New Issue
Block a user