(projectRef: string, slug: string, body: CreateEnvironmentVariableRequestBody)
| 366 | } |
| 367 | |
| 368 | createEnvVar(projectRef: string, slug: string, body: CreateEnvironmentVariableRequestBody) { |
| 369 | return zodfetch( |
| 370 | EnvironmentVariableResponseBody, |
| 371 | `${this.baseUrl}/api/v1/projects/${projectRef}/envvars/${slug}`, |
| 372 | { |
| 373 | method: "POST", |
| 374 | headers: this.#getHeaders(false), |
| 375 | body: JSON.stringify(body), |
| 376 | } |
| 377 | ); |
| 378 | } |
| 379 | |
| 380 | updateEnvVar( |
| 381 | projectRef: string, |
no test coverage detected