@cpod/sdk - v0.2.7
    Preparing search index...

    Function getUserById

    • Get a user by ID

      Parameters

      • userId: string

        The unique identifier of the user

      Returns Promise<User>

      The user's profile data

      404 - User not found

      import { getUserById } from "@cpod/sdk";

      const user = await getUserById("user-123");