async registerUser()

in src/lib/service/custos-service/custos-service-users.js [17:31]


    async registerUser({username, firstName, lastName, password, email}) {
        const axiosInstance = await this.custosService.axiosInstance;
        return axiosInstance.post(
            `${CustosService.ENDPOINTS.USERS}/user`,
            {
                'client_id': this.custosService.clientId,
                'username': username,
                'first_name': firstName,
                'last_name': lastName,
                'password': password,
                'temporary_password': false,
                'email': email
            }
        );
    }