mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-08 22:22:17 +02:00
feat(native-connector): added google maps places & reviews scrapers
This commit is contained in:
parent
cc99bc4cae
commit
7185079bd6
114 changed files with 4688 additions and 425 deletions
|
|
@ -44,9 +44,7 @@ def validate_workspace_id(workspace_id: Any) -> int:
|
|||
if isinstance(workspace_id, str):
|
||||
# Check if it's a valid integer string
|
||||
if not workspace_id.strip():
|
||||
raise HTTPException(
|
||||
status_code=400, detail="workspace_id cannot be empty"
|
||||
)
|
||||
raise HTTPException(status_code=400, detail="workspace_id cannot be empty")
|
||||
|
||||
# Check for valid integer format (no leading zeros, no decimal points)
|
||||
if not re.match(r"^[1-9]\d*$", workspace_id.strip()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue