fix: make api token only view once (#382)

This commit is contained in:
pablohashescobar 2023-03-08 01:00:10 +05:30 committed by GitHub
parent 0bd3e8ae95
commit 1a04eda613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -5,4 +5,10 @@ from plane.db.models import APIToken
class APITokenSerializer(BaseSerializer):
class Meta:
model = APIToken
fields = "__all__"
fields = [
"label",
"user",
"user_type",
"workspace",
"created_at",
]