Skip to content

Commit 98a4120

Browse files
Pigbibicodex
andcommitted
docs: correct M0 publisher endpoint
Co-Authored-By: Codex <noreply@openai.com>
1 parent 451b11d commit 98a4120

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/m0_research_publisher_envelope_contract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ metadata 的便利方式,构建器不会执行 shell 或命令替换。
7070
构建器才会在成功写入本地封套后对 HTTPS endpoint 进行一次 POST:
7171

7272
```bash
73-
export QSL_M0_RESEARCH_LEDGER_PUBLISH_URL='https://research-console.example/api/internal/m0'
73+
export QSL_M0_RESEARCH_LEDGER_PUBLISH_URL='https://research-console.example/api/internal/sync-m0-research-ledger'
7474
export QSL_M0_RESEARCH_LEDGER_PUBLISH_TOKEN='dedicated-publisher-token'
7575

7676
python3 python/scripts/build_m0_research_publisher_envelope.py ... --publish

python/tests/test_build_m0_research_publisher_envelope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def fake_urlopen(request, timeout):
264264
publisher.publish_m0_research_publisher_envelope(
265265
envelope,
266266
environ={
267-
publisher.PUBLISH_URL_ENV: "https://research-console.example/api/internal/m0",
267+
publisher.PUBLISH_URL_ENV: "https://research-console.example/api/internal/sync-m0-research-ledger",
268268
publisher.PUBLISH_TOKEN_ENV: secret,
269269
"BROKER_API_TOKEN": "must-not-be-read",
270270
},

0 commit comments

Comments
 (0)