Created
December 16, 2022 10:58
-
-
Save Eugeny/d40d4c134e9c5a1ed67979290f87c454 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/cloud/serializers.py b/apps/cloud/serializers.py | |
index 15e6dd28a..433de2006 100644 | |
--- a/apps/cloud/serializers.py | |
+++ b/apps/cloud/serializers.py | |
@@ -19,7 +19,7 @@ class CloudConnectionSerializer(ModelSerializer): | |
class ClickGallerySerializer(Serializer): | |
- id = fields.IntegerField() | |
+ id = fields.IntegerField(read_only=True) | |
name = fields.CharField() | |
description = fields.CharField(required=False, allow_blank=True, allow_null=True) | |
presigned_login_url = fields.SerializerMethodField() | |
@@ -35,7 +35,7 @@ class ClickGallerySerializer(Serializer): | |
class ClickLinkUserSerializer(Serializer): | |
- id = fields.CharField() | |
+ id = fields.CharField(read_only=True) | |
username = fields.CharField() | |
email = fields.CharField(allow_null=True) | |
display_name = fields.CharField() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment