Skip to content

Commit

Permalink
fix(github): user optional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe committed Apr 24, 2024
1 parent b5747bd commit 30da003
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,11 @@ enum class GitHubUserType {
*/
@Serializable
data class GitHubUser(
val id: Long,
val login: String,
val type: GitHubUserType,
val id: Long?,
val login: String?,
val type: GitHubUserType?,
@SerialName("avatar_url")
val avatarUrl: String
val avatarUrl: String?
)

@Serializable
Expand Down

0 comments on commit 30da003

Please sign in to comment.