mirror of https://github.com/langgenius/dify.git
feat: add current user retrieval in EnvironmentVariableCollectionApi post method
This commit is contained in:
parent
06c31dfdb2
commit
306ef79526
|
|
@ -592,6 +592,7 @@ class EnvironmentVariableCollectionApi(Resource):
|
|||
@get_app_model(mode=[AppMode.ADVANCED_CHAT, AppMode.WORKFLOW])
|
||||
def post(self, app_model: App):
|
||||
payload = EnvironmentVariableUpdatePayload.model_validate(console_ns.payload or {})
|
||||
current_user, _ = current_account_with_tenant()
|
||||
|
||||
workflow_service = WorkflowService()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue