Merge pull request #351 from LLOneBot/main

merge
This commit is contained in:
idranme 2024-08-19 12:59:10 +08:00 committed by GitHub
commit 65d02d7f21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ class GetGroupList extends BaseAction<Payload, OB11Group[]> {
actionName = ActionName.GetGroupList actionName = ActionName.GetGroupList
protected async _handle(payload: Payload) { protected async _handle(payload: Payload) {
const groupList = await NTQQGroupApi.getGroups(payload?.no_cache === true || payload.no_cache === 'true') const groupList = await NTQQGroupApi.getGroups(payload?.no_cache === true || payload?.no_cache === 'true')
return OB11Constructor.groups(groupList) return OB11Constructor.groups(groupList)
} }
} }