Fix API authentication - set g.user_id in auth decorators
The /api/wallet endpoint was returning 401 because it checks g.user_id but the auth decorators only set request.current_user. Now both are set. - Fixed require_auth decorator in auth.py to set g.user_id - Fixed get_api_auth_decorator in routes.py to set g.user_id
Showing
Please
register
or
sign in
to comment