* fix: project webhooks * fix: issue and issue comment webhooks * dev: remove module and cycle issue webhooks * fix: linting errors
18 lines
368 B
Python
18 lines
368 B
Python
# Module imports
|
|
from plane.db.models import User
|
|
|
|
from .base import BaseSerializer
|
|
|
|
|
|
class UserLiteSerializer(BaseSerializer):
|
|
class Meta:
|
|
model = User
|
|
fields = [
|
|
"id",
|
|
"first_name",
|
|
"last_name",
|
|
"avatar",
|
|
"display_name",
|
|
"email",
|
|
]
|
|
read_only_fields = fields
|