(name: string)
| 32 | }, |
| 33 | |
| 34 | async createAuthKey(name: string): Promise<string> { |
| 35 | const response = await apiRequest<string>({ |
| 36 | method: "POST", |
| 37 | url: "/core/auth-key/create", |
| 38 | data: { name }, |
| 39 | }); |
| 40 | |
| 41 | if (response.success && response.data) { |
| 42 | return response.data; |
| 43 | } |
| 44 | throw new Error(response.error || "Failed to create auth key"); |
| 45 | }, |
| 46 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected