From 54a902821597c8c58afd9d6d8b49d6cf114d6fb1 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 18 Apr 2024 08:21:18 +0530 Subject: [PATCH] feat: Updated sdks/ts/src/managers/user.ts (#244) Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com> --- sdks/ts/src/managers/user.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/sdks/ts/src/managers/user.ts b/sdks/ts/src/managers/user.ts index df69e42a5..d194a750d 100644 --- a/sdks/ts/src/managers/user.ts +++ b/sdks/ts/src/managers/user.ts @@ -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) {