ugcinc 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/org.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ For complete API documentation, including all endpoints, parameters, and example
|
|
|
71
71
|
|
|
72
72
|
**Get your organization's API keys:**
|
|
73
73
|
```typescript
|
|
74
|
-
const response = await client.org.getApiKeys();
|
|
74
|
+
const response = await client.org.getApiKeys(); // POST /org/api-key
|
|
75
75
|
|
|
76
76
|
if (response.ok) {
|
|
77
77
|
console.log(response.data); // [{ id: "...", created_at: "..." }]
|
package/dist/org.js
CHANGED
|
@@ -11,7 +11,7 @@ class OrganizationClient extends base_1.BaseClient {
|
|
|
11
11
|
* Note: The actual key values are not returned for security reasons
|
|
12
12
|
*/
|
|
13
13
|
async getApiKeys() {
|
|
14
|
-
return this.
|
|
14
|
+
return this.post('/org/api-key');
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
exports.OrganizationClient = OrganizationClient;
|