vaphes / pocketbase

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

Typo in function argument for auth_with_oauth2 method #64

Closed mrpn closed 1 year ago

mrpn commented 1 year ago

I noticed the argument for redirect_url is misspelt. It should be corrected to redirect_url from redirct_url. Thanks.

def auth_with_oauth2(
        self,
        provider: str,
        code: str,
        code_verifier: str,
        redirct_url: str,
        create_data={},
        body_params={},
        query_params={},
    ):

should be

def auth_with_oauth2(
        self,
        provider: str,
        code: str,
        code_verifier: str,
        redirect_url: str,
        create_data={},
        body_params={},
        query_params={},
    ):