mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
@ -318,9 +318,11 @@ class SaveNotificationContentApi(Resource):
|
|||||||
@console_ns.route("/admin/save_notification_user")
|
@console_ns.route("/admin/save_notification_user")
|
||||||
class SaveNotificationUserApi(Resource):
|
class SaveNotificationUserApi(Resource):
|
||||||
@console_ns.doc("save_notification_user")
|
@console_ns.doc("save_notification_user")
|
||||||
@console_ns.doc(description="Save notification users via JSON body or file upload. "
|
@console_ns.doc(
|
||||||
"JSON: {\"user_email\": [\"a@example.com\", ...]}. "
|
description="Save notification users via JSON body or file upload. "
|
||||||
"File: multipart/form-data with a 'file' field (CSV or TXT, one email per line).")
|
'JSON: {"user_email": ["a@example.com", ...]}. '
|
||||||
|
"File: multipart/form-data with a 'file' field (CSV or TXT, one email per line)."
|
||||||
|
)
|
||||||
@console_ns.response(200, "Notification users saved successfully")
|
@console_ns.response(200, "Notification users saved successfully")
|
||||||
@only_edition_cloud
|
@only_edition_cloud
|
||||||
@admin_required
|
@admin_required
|
||||||
|
|||||||
Reference in New Issue
Block a user