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

    Function getUser

    • Get the current authenticated user's profile

      Returns Promise<User>

      The current user's profile data

      401 - Not authenticated

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

      const user = await getUser();
      console.log(user.name);