fix: file structuring (#2797)
* fix: file structure changes * fix: pages update * fix: license imports changed
This commit is contained in:
parent
728213e3fd
commit
ced5bfd930
113 changed files with 2306 additions and 1261 deletions
12
apiserver/plane/app/serializers/notification.py
Normal file
12
apiserver/plane/app/serializers/notification.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Module imports
|
||||
from .base import BaseSerializer
|
||||
from .user import UserLiteSerializer
|
||||
from plane.db.models import Notification
|
||||
|
||||
class NotificationSerializer(BaseSerializer):
|
||||
triggered_by_details = UserLiteSerializer(read_only=True, source="triggered_by")
|
||||
|
||||
class Meta:
|
||||
model = Notification
|
||||
fields = "__all__"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue