bb-plane-fork/apiserver/plane/api/serializers/user.py
Nikhil 2c8c139c62
[WEB - 898] fix: external webhooks (#4119)
* fix: project webhooks

* fix: issue and issue comment webhooks

* dev: remove module and cycle issue webhooks

* fix: linting errors
2024-04-08 14:59:50 +05:30

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