Documentation missing empty params object #656
Labels
closed:stale
Issue or PR has not seen activity recently
documentation
This adds, fixes or improves documentation
Describe the problem
Related to this previous issue
In the ManagementClient section of the documentation there is the setBrandingUniversalLoginTemplate() function; I am getting the same argument error as the issue linked above ('ArgumentError: The data must be an object'). The docs here are a bit confusing, as A. while the documentation says to leave the params empty, in the example there is no empty object being passed to the function in the params place. And B. the description of this function is "Get the new universal login template," though this is a setter it seems.
What was the expected behavior?
Running the code based on the documentation should update the login template
Reproduction
If you call the function without an empty params object (as shown in the docs) you will get the error 'ArgumentError: The data must be an object'.
Environment
version:
"auth0": "^2.36.1"
The text was updated successfully, but these errors were encountered: