From 505b8e5a323902a85109980080a4c71f7aaed96a Mon Sep 17 00:00:00 2001 From: DXC Date: Mon, 23 Mar 2026 13:41:13 +0800 Subject: [PATCH] fix: add missing get_jwt import to resolve NameError in my-permissions API --- inventory-backend/app/api/v1/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory-backend/app/api/v1/auth.py b/inventory-backend/app/api/v1/auth.py index 068913c..d3183c9 100644 --- a/inventory-backend/app/api/v1/auth.py +++ b/inventory-backend/app/api/v1/auth.py @@ -1,6 +1,6 @@ # app/api/v1/auth.py from flask import Blueprint, request, jsonify, current_app -from flask_jwt_extended import jwt_required, get_jwt_identity +from flask_jwt_extended import jwt_required, get_jwt, get_jwt_identity from app.extensions import db from app.services.auth_service import AuthService from app.utils.decorators import permission_required, audit_log