Skip to content

Commit

Permalink
feat: Add bio field for team members
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jul 13, 2024
1 parent b3c8253 commit c40d50c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class APIMember(
override val name: String,
override val avatarUrl: String,
override val url: String,
val bio: String?,
val gpgKey: APIGpgKey?,
) : APIUser

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ internal class ApiService(
member.name,
member.avatarUrl,
member.url,
member.bio,
if (member.gpgKeys.ids.isNotEmpty()) {
APIGpgKey(
// Must choose one of the GPG keys, because it does not make sense to have multiple GPG keys for the API.
Expand All @@ -39,7 +40,6 @@ internal class ApiService(
} else {
null
},

)
}

Expand Down

0 comments on commit c40d50c

Please sign in to comment.