From aad50921a44712404f4809f5919565ce54e8979a Mon Sep 17 00:00:00 2001
From: ryoii <ryoii@foxmail.com>
Date: Sat, 8 Feb 2020 17:39:45 +0800
Subject: [PATCH] fix

---
 .../net/mamoe/mirai/api/http/route/GroupManageRouteModule.kt    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/route/GroupManageRouteModule.kt b/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/route/GroupManageRouteModule.kt
index b316be667..96bd31f68 100644
--- a/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/route/GroupManageRouteModule.kt
+++ b/mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/route/GroupManageRouteModule.kt
@@ -67,7 +67,7 @@ fun Application.groupManageModule() {
          * 群员信息管理(需要相关权限)
          */
         miraiGet("/memberInfo") {
-            val member = it.bot.getGroup(paramOrNull("target"))[paramOrNull("memberID")]
+            val member = it.bot.getGroup(paramOrNull("target"))[paramOrNull("memberId")]
             call.respondDTO(MemberDetailDTO(member))
         }