mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix blacklist display
This commit is contained in:
@@ -140,6 +140,11 @@ export async function DelBiliBlackList(id: number): Promise<APIRoot<unknown>> {
|
||||
id: id,
|
||||
})
|
||||
}
|
||||
export async function DelBlackList(id: number): Promise<APIRoot<unknown>> {
|
||||
return QueryGetAPI<AccountInfo>(`${ACCOUNT_API_URL}black-list/del`, {
|
||||
id: id,
|
||||
})
|
||||
}
|
||||
export function downloadConfigDirect(name: string) {
|
||||
return QueryGetAPI<string>(VTSURU_API_URL + 'get-config', {
|
||||
name: name,
|
||||
|
||||
@@ -67,7 +67,7 @@ export interface AccountInfo extends UserInfo {
|
||||
|
||||
nextSendEmailTime?: number
|
||||
isServerFetcherOnline: boolean
|
||||
blackList: number[]
|
||||
blackList: UserBasicInfo[]
|
||||
biliBlackList: { [key: number]: string }
|
||||
streamerInfo?: StreamerModel
|
||||
biliUserAuthInfo?: BiliAuthModel
|
||||
|
||||
Reference in New Issue
Block a user