Hello, I was trying to update user data, but the request failed, the Gotrue API returns a 405 Status Code (Method Not Allowed), after debugging i found that we are calling the update method from the API object we are sending a request to a wrong route "/recover" instead we should call "/user" please check here.
I will submit PR to fix. Thank you very much.
To Reproduce
SignIn an existing user or SignUp
Call update method to change the user metadata for example
var attributes = new UserAttributes
{
Data = new Dictionary<string, object>
{
{"hello", "world" }
}
};
await client.Update(attributes);
Bug report
Describe the bug
Hello, I was trying to update user data, but the request failed, the Gotrue API returns a 405 Status Code (Method Not Allowed), after debugging i found that we are calling the update method from the API object we are sending a request to a wrong route "/recover" instead we should call "/user" please check here.
I will submit PR to fix. Thank you very much.
To Reproduce
Expected behavior
System information