From b5c1157468616cedb510cc5e7854b144feb6a527 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Wed, 8 Oct 2025 21:45:21 -0700 Subject: [PATCH] fix: removed checks that were not checked - fuck this hacktoberfest --- surfsense_backend/app/utils/validators.py | 28 +++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/surfsense_backend/app/utils/validators.py b/surfsense_backend/app/utils/validators.py index 32b406b9d..7677d54f2 100644 --- a/surfsense_backend/app/utils/validators.py +++ b/surfsense_backend/app/utils/validators.py @@ -524,20 +524,20 @@ def validate_connector_config(connector_type: str | Any, config: dict[str, Any]) "required": ["CLICKUP_API_TOKEN"], "validators": {} }, - "GOOGLE_CALENDAR_CONNECTOR": { - "required": ["token", "refresh_token", "token_uri", "client_id", "expiry", "scopes", "client_secret"], - "validators": {}, - "allow_none_or_empty": False # Special flag for Google connectors - }, - "GOOGLE_GMAIL_CONNECTOR": { - "required": ["token", "refresh_token", "token_uri", "client_id", "expiry", "scopes", "client_secret"], - "validators": {}, - "allow_none_or_empty": False - }, - "AIRTABLE_CONNECTOR": { - "required": ["AIRTABLE_API_KEY", "AIRTABLE_BASE_ID"], - "validators": {} - }, + # "GOOGLE_CALENDAR_CONNECTOR": { + # "required": ["token", "refresh_token", "token_uri", "client_id", "expiry", "scopes", "client_secret"], + # "validators": {}, + # "allow_none_or_empty": False # Special flag for Google connectors + # }, + # "GOOGLE_GMAIL_CONNECTOR": { + # "required": ["token", "refresh_token", "token_uri", "client_id", "expiry", "scopes", "client_secret"], + # "validators": {}, + # "allow_none_or_empty": False + # }, + # "AIRTABLE_CONNECTOR": { + # "required": ["AIRTABLE_API_KEY", "AIRTABLE_BASE_ID"], + # "validators": {} + # }, "LUMA_CONNECTOR": { "required": ["LUMA_API_KEY"], "validators": {}