Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweep: Update the docstrings and comments in sdks/ts/src/managers/user.ts to fix any issues and mismatch between the comment and associated code #244

Merged
merged 5 commits into from
Apr 18, 2024
1 change: 1 addition & 0 deletions sdks/ts/src/managers/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class UsersManager extends BaseManager {
try {
invariant(isValidUuid4(userId), "id must be a valid UUID v4");

// Fetches a user by ID using the API client
const user = await this.apiClient.default.getUser({ userId });
return user;
} catch (error) {
Expand Down
Loading