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

    Function updateUser

    • Function to update a user's data in the database.

      Parameters

      • userId: string

        The ID of the user to be updated

      • payload: UserData

        The payload containing user data to be updated

      Returns Promise<{ error?: string; success?: boolean }>

      • The response from the server or an error message