Skip to content

Commit

Permalink
Merge pull request #653 from UnitapApp/feature/telegram/implementation
Browse files Browse the repository at this point in the history
added is_connected to readonly fields
  • Loading branch information
alimaktabi authored Oct 31, 2024
2 parents e31a610 + 1259375 commit e9f5f5d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions telegram/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ class TelegramConnectionSerializer(BaseThirdPartyConnectionSerializer):
class Meta:
model = TelegramConnection
fields = "__all__"
read_only_fields = [
"created_on",
"pk",
"user_profile",
"title",
]
read_only_fields = ["created_at", "pk", "user_profile", "title"]

def validate_address(self, raise_exception=False):
return True

0 comments on commit e9f5f5d

Please sign in to comment.