mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
feat: nodeinfoのusageを文字から数字に
This commit is contained in:
+1
-1
@@ -10,6 +10,6 @@ data class Nodeinfo2_0(
|
||||
)
|
||||
|
||||
data class NodeinfoUsage(
|
||||
val users: Map<String, String>,
|
||||
val users: Map<String, Long>,
|
||||
val localPosts: Long,
|
||||
)
|
||||
+1
-1
@@ -29,7 +29,7 @@ class NodeinfoApplicationService(
|
||||
protocol = listOf("activitypub"),
|
||||
NodeinfoUsage(
|
||||
users = mapOf(
|
||||
"total" to "0", "activeMonth" to "0", "activeHalfyear" to "0"
|
||||
"total" to 0, "activeMonth" to 0, "activeHalfyear" to 0
|
||||
), localPosts = 0
|
||||
),
|
||||
openRegistration = applicationConfig.private.not(),
|
||||
|
||||
Reference in New Issue
Block a user