Skip to content

Commit

Permalink
feat: Updated sdks/ts/src/managers/user.ts (#244)
Browse files Browse the repository at this point in the history
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com>
  • Loading branch information
sweep-ai[bot] authored Apr 18, 2024
1 parent 33ebc99 commit 54a9028
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 54a9028

Please sign in to comment.