Minor adjustments for API usage example (#6605)

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
Ryan Finnie
2026-07-15 16:21:53 +02:00
committed by GitHub
co-authored by qwerty287
parent 9e5f2e1901
commit 25e18500a4
+1 -1
View File
@@ -58,7 +58,7 @@ const usageWithCurl = computed(() => {
let usage = `export WOODPECKER_SERVER="${address}"\n`;
usage += `export WOODPECKER_TOKEN="${token.value}"\n`;
usage += `\n`;
usage += `# curl -i \${WOODPECKER_SERVER}/api/user -H "Authorization: Bearer \${WOODPECKER_TOKEN}"`;
usage += `curl -i -H "Authorization: Bearer \${WOODPECKER_TOKEN}" "\${WOODPECKER_SERVER}/api/user"`;
return usage;
});