Fix build

This commit is contained in:
Him188 2021-01-29 10:52:40 +08:00
parent dcb9a19c45
commit 245d08051b

View File

@ -918,7 +918,7 @@ internal open class MiraiImpl : IMirai, LowLevelApiAccessor {
override suspend fun queryProfile(bot: Bot, targetId: Long): UserProfile { override suspend fun queryProfile(bot: Bot, targetId: Long): UserProfile {
bot.asQQAndroidBot().network.apply { bot.asQQAndroidBot().network.apply {
return SummaryCard.ReqSummaryCard(bot.client, targetId) return SummaryCard.ReqSummaryCard(bot.client, targetId)
.sendAndExpect<SummaryCard.ReqSummaryCard.RespSummaryCard>() .sendAndExpect()
} }
} }