Skip to content

Commit

Permalink
fix: kotlinx.serialization.MissingFieldException: Field 'locked' is r…
Browse files Browse the repository at this point in the history
…equired for type with serial name 'io.github.magonxesp.cloudflareddns.DNSRecord', but it was missing at path: $.result[0]
  • Loading branch information
magonxesp committed Aug 14, 2024
1 parent a4b1163 commit 1c724a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data class DNSRecord(
@SerialName("created_on")
val createdOn: String,
val id: String,
val locked: Boolean,
val locked: Boolean? = null,
@SerialName("modified_on")
val modifiedOn: String,
val proxiable: Boolean,
Expand Down

0 comments on commit 1c724a8

Please sign in to comment.