From c40d50c01368cb6b9ab06857694ec51d27aba2cb Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 13 Jul 2024 02:46:57 +0200 Subject: [PATCH] feat: Add bio field for team members --- .../kotlin/app/revanced/api/configuration/schema/APISchema.kt | 1 + .../app/revanced/api/configuration/services/ApiService.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/api/configuration/schema/APISchema.kt b/src/main/kotlin/app/revanced/api/configuration/schema/APISchema.kt index a335bffd..d6d28ef3 100644 --- a/src/main/kotlin/app/revanced/api/configuration/schema/APISchema.kt +++ b/src/main/kotlin/app/revanced/api/configuration/schema/APISchema.kt @@ -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 diff --git a/src/main/kotlin/app/revanced/api/configuration/services/ApiService.kt b/src/main/kotlin/app/revanced/api/configuration/services/ApiService.kt index 7834362f..0a73fff9 100644 --- a/src/main/kotlin/app/revanced/api/configuration/services/ApiService.kt +++ b/src/main/kotlin/app/revanced/api/configuration/services/ApiService.kt @@ -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. @@ -39,7 +40,6 @@ internal class ApiService( } else { null }, - ) }