fix(ci): prettier format BackendClient.ts and i18n locales

This commit is contained in:
dadachann
2026-06-26 12:52:49 -04:00
parent 6c5b01fa3c
commit a0ea0704fc
2 changed files with 16 additions and 4 deletions
+14 -3
View File
@@ -394,12 +394,23 @@ export class BackendClient extends BaseHttpClient {
return this.delete(`/api/v1/platform/bots/${uuid}`);
}
public getBotAdmins(botId: string): Promise<{ admins: Array<{ id: number; launcher_type: string; launcher_id: string }> }> {
public getBotAdmins(
botId: string,
): Promise<{
admins: Array<{ id: number; launcher_type: string; launcher_id: string }>;
}> {
return this.get(`/api/v1/platform/bots/${botId}/admins`);
}
public addBotAdmin(botId: string, launcher_type: string, launcher_id: string): Promise<{ id: number }> {
return this.post(`/api/v1/platform/bots/${botId}/admins`, { launcher_type, launcher_id });
public addBotAdmin(
botId: string,
launcher_type: string,
launcher_id: string,
): Promise<{ id: number }> {
return this.post(`/api/v1/platform/bots/${botId}/admins`, {
launcher_type,
launcher_id,
});
}
public deleteBotAdmin(botId: string, adminId: number): Promise<object> {