CLOVER Website - v0.3.1
    Preparing search index...

    Function registerUser

    • Function to log in a user TODO: Wrap this in a try-catch block to match other api functions

      Parameters

      • firstName: string

        The first name of the user

      • lastName: string

        The last name of the user

      • email: string

        The email of the user

      • password: string

        The password of the user

      Returns Promise<any>

      • The response from the server or an error message
      • Throws an error if the request fails