whio-api-sdk 1.0.158 → 1.0.159
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/dist/src/sdk/sdk.js +1 -0
- package/package.json +1 -1
- package/src/sdk/sdk.ts +1 -0
package/dist/src/sdk/sdk.js
CHANGED
|
@@ -433,6 +433,7 @@ export class ApiSDK {
|
|
|
433
433
|
}
|
|
434
434
|
addUserToOrganization(organizationId, userId) {
|
|
435
435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
436
|
+
console.log('Adding user to organization:', organizationId, userId);
|
|
436
437
|
yield this.request(`${urls.organizations}/${organizationId}/users/${userId}`, 'POST');
|
|
437
438
|
});
|
|
438
439
|
}
|
package/package.json
CHANGED
package/src/sdk/sdk.ts
CHANGED
|
@@ -517,6 +517,7 @@ export class ApiSDK {
|
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
public async addUserToOrganization(organizationId: string, userId: string): Promise<void> {
|
|
520
|
+
console.log('Adding user to organization:', organizationId, userId);
|
|
520
521
|
await this.request(`${urls.organizations}/${organizationId}/users/${userId}`, 'POST');
|
|
521
522
|
}
|
|
522
523
|
|