mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
15 lines
301 B
Python
15 lines
301 B
Python
from .base import BaseSerializer
|
|
from plane.db.models import APIToken
|
|
|
|
|
|
class APITokenSerializer(BaseSerializer):
|
|
class Meta:
|
|
model = APIToken
|
|
fields = [
|
|
"label",
|
|
"user",
|
|
"user_type",
|
|
"workspace",
|
|
"created_at",
|
|
]
|