mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
Merge branch 'feat/webapp-auth-api' into e-260
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import logging
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
@ -46,7 +45,6 @@ class EnterpriseService:
|
||||
raise ValueError("No data found.")
|
||||
|
||||
if not isinstance(data["accessModes"], dict):
|
||||
logging.info(f"Batch get app access mode by id returns data: {data}")
|
||||
raise ValueError("Invalid data format.")
|
||||
|
||||
ret = {}
|
||||
@ -55,7 +53,6 @@ class EnterpriseService:
|
||||
curr.access_mode = value
|
||||
ret[key] = curr
|
||||
|
||||
logging.info(f"Batch get app access mode by id returns data: {ret}")
|
||||
return ret
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user