fix: fence profile updates and check TeamSpeak permission failures

This commit is contained in:
TIANYAO ZHANG committed 2026-10-03 17:17:35 +08:00
1 parent b9c79c8138
commit f8b03acca3
3 files changed
+294 -101

No files matched your search

+6 -1
View File
@@ -167,7 +167,12 @@ export class TS6HttpQuery {
/** List clients on a virtual server */
async clientList(sid = 1): Promise<HttpQueryResult> {
return this.request("GET", `/1/clientlist?sid=${sid}`);
const path = `/1/clientlist?sid=${sid}`;
const result = await this.request("GET", path);
if (result.status < 200 || result.status >= 300) {
throw new HttpQueryError(path, result.status, result.body);
}
return result;
}
/** List channels on a virtual server */