vaphes / pocketbase

PocketBase client SDK for python
https://pypi.org/project/pocketbase/
MIT License
359 stars 41 forks source link

confirmPasswortReset returns the wrong type #51

Closed m29h closed 1 year ago

m29h commented 1 year ago

Both in RecordService and AdminService the confirmPasswordReset() method claims to return an instance of https://github.com/vaphes/pocketbase/blob/82a5b3905a568937d123b7ef307194aa135eee57/pocketbase/services/record_service.py#L250-L257 RecordAuthResponse However this is not the case. the official pocketbase api doc states that the API endpoint in fact returns null. The JS client returns "True" on success.

In similar way there is no requestEmailChange / confirmEmailChange API call available at all. Having that would bring this client closer to the JS client features.