mirror of https://github.com/usbharu/Hideout.git
feat: nodeinfoのusageを文字から数字に
This commit is contained in:
parent
4c026fb243
commit
5ac1e3b267
|
@ -10,6 +10,6 @@ data class Nodeinfo2_0(
|
|||
)
|
||||
|
||||
data class NodeinfoUsage(
|
||||
val users: Map<String, String>,
|
||||
val users: Map<String, Long>,
|
||||
val localPosts: Long,
|
||||
)
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue