This commit is contained in:
Marsway 2026-01-13 17:21:40 +08:00
parent f1a10bce1b
commit e1f1bf76ad
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ from typing import Any
from app.jobs.base import BaseJob from app.jobs.base import BaseJob
logger = logging.getLogger("connecthub.extensions.sync_oa_to_didi") logger = logging.getLogger("connecthub.test.job")
class testJob(BaseJob): class testJob(BaseJob):
job_id = "test.job" job_id = "test.job"
@ -13,5 +13,5 @@ class testJob(BaseJob):
def run(self, params: dict[str, Any], secrets: dict[str, Any]) -> dict[str, Any]: def run(self, params: dict[str, Any], secrets: dict[str, Any]) -> dict[str, Any]:
message = str(params.get("message") or "").strip() message = str(params.get("message") or "").strip()
logger.info("Message says:", message) logger.info("Message says:" + message)
return {"message": "hello, world"} return {"message": "hello, world"}