mirror of https://github.com/langgenius/dify.git
fix: remove curr user in webapp permission api
This commit is contained in:
parent
2af1dd6de3
commit
e52a9fbfb7
|
|
@ -1,7 +1,6 @@
|
|||
import logging
|
||||
|
||||
from flask import request
|
||||
from flask_login import current_user
|
||||
from flask_restful import Resource, marshal_with, reqparse # type: ignore
|
||||
|
||||
from controllers.common import fields
|
||||
|
|
@ -85,7 +84,6 @@ class AppWebAuthPermission(Resource):
|
|||
args = parser.parse_args()
|
||||
|
||||
app_id = args["appId"]
|
||||
user_id = current_user.id
|
||||
logging.info(f"App ID: {app_id}, User ID: {user_id}")
|
||||
|
||||
app_code = AppService.get_app_code_by_id(app_id)
|
||||
|
|
|
|||
Loading…
Reference in New Issue