mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-09-05 20:07:25 +00:00
Minor adjustments for API usage example (#6605)
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user