~sircmpwn/core.sr.ht

1e702bf9f26c8cc42d27184273bccdf7d8cad3fa — Drew DeVault 1 year, 11 months ago a5e36e8 0.55.2
srht/api.py: Fix token auth path
1 files changed, 1 insertions(+), 1 deletions(-)

M srht/api.py
M srht/api.py => srht/api.py +1 -1
@@ 61,7 61,7 @@ def get_authorization(user_or_token):
    else:
        # Token auth
        return {
            "Authorization": f"token {token}",
            "Authorization": f"token {user_or_token}",
        }

def get_results(url, user_or_token):