(key: string, value: any)
| 49 | } |
| 50 | |
| 51 | async updateConfig(key: string, value: any): Promise<SystemConfig> { |
| 52 | return this.request<SystemConfig>(`/v1/system/config/${key}`, { |
| 53 | method: "PUT", |
| 54 | body: { value }, |
| 55 | }); |
| 56 | } |
| 57 | |
| 58 | async deleteConfig(key: string): Promise<void> { |
| 59 | await this.request<void>(`/v1/system/config/${key}`, { |
no test coverage detected