Skip to content

Commit

Permalink
added is_connected to readonly fields
Browse files Browse the repository at this point in the history
  • Loading branch information
alimaktabi committed Oct 31, 2024
1 parent c8541f6 commit ebfe5a3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions telegram/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,4 @@ class TelegramConnectionSerializer(BaseThirdPartyConnectionSerializer):
class Meta:
model = TelegramConnection
fields = "__all__"
read_only_fields = [
"created_on",
"pk",
"user_profile",
"title",
]
read_only_fields = ["created_on", "pk", "user_profile", "title", "is_connected"]

0 comments on commit ebfe5a3

Please sign in to comment.