Browse Source

Dis-open AuthedDTO.session

ryoii 2 years ago
parent
commit
518a7c9979

+ 2 - 2
mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/adapter/internal/dto/auth.kt

@@ -1,5 +1,5 @@
 /*
- * Copyright 2020 Mamoe Technologies and contributors.
+ * Copyright 2023 Mamoe Technologies and contributors.
  *
  * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
  * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
@@ -25,7 +25,7 @@ internal abstract class AuthedDTO : DTO {
     val sessionKey: String = MahContext.SINGLE_SESSION_KEY
 
     @Transient
-    open lateinit var session: Session // 反序列化验证成功后传入
+    lateinit var session: Session // 反序列化验证成功后传入
 }
 
 @Serializable