diff --git a/app/src/main/java/awais/instagrabber/repositories/responses/Caption.kt b/app/src/main/java/awais/instagrabber/repositories/responses/Caption.kt index eebc6655..48be369c 100644 --- a/app/src/main/java/awais/instagrabber/repositories/responses/Caption.kt +++ b/app/src/main/java/awais/instagrabber/repositories/responses/Caption.kt @@ -2,6 +2,9 @@ package awais.instagrabber.repositories.responses import java.io.Serializable -data class Caption(val userId: Long, var text: String?) : Serializable { - var pk: Long = 0 +data class Caption( + val userId: Long = 0, + var text: String? = null, +) : Serializable { + var pk: String? = null } \ No newline at end of file diff --git a/app/src/main/java/awais/instagrabber/repositories/serializers/CaptionDeserializer.java b/app/src/main/java/awais/instagrabber/repositories/serializers/CaptionDeserializer.java index 0bd796ab..9db0278d 100644 --- a/app/src/main/java/awais/instagrabber/repositories/serializers/CaptionDeserializer.java +++ b/app/src/main/java/awais/instagrabber/repositories/serializers/CaptionDeserializer.java @@ -30,7 +30,7 @@ public class CaptionDeserializer implements JsonDeserializer