Skip to content

Commit fdda589

Browse files
committed
fix(processes): update core_service description for clarity
1 parent 27cea3d commit fdda589

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

api/routers/process.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ class UnifiedStartRequest(BaseModel):
365365
"origin": "CORS origin for the service",
366366
"use_embedded_rclone": "If true, uses the embedded rclone for Decypharr. (Recommended)",
367367
"use_huntarr": "If true, auto-configures Huntarr for this Arr instance.",
368-
"core_service": "Specifies which core service(s) this service applies to; e.g., decypharr, nzbdav, or none (blank).",
368+
"core_service": "Specifies which core service(s) this service applies to; e.g., decypharr, nzbdav, both (decypharr,nzbdav), or none (blank).",
369369
"webdav_password": "Password for accessing the NzbDAV WebDAV service. Leave blank to auto-generate.",
370370
}
371371

@@ -1921,11 +1921,7 @@ async def get_core_services(
19211921
if dep in ("zurg", "rclone"):
19221922
instances = default_conf.get(dep, {}).get("instances", {})
19231923
inst_cfg = next(
1924-
(
1925-
cfg
1926-
for cfg in instances.values()
1927-
if has_core_service(cfg, key)
1928-
),
1924+
(cfg for cfg in instances.values() if has_core_service(cfg, key)),
19291925
None,
19301926
) or next(iter(instances.values()), None)
19311927
if inst_cfg:

0 commit comments

Comments
 (0)