Skip to content

Commit 46623cc

Browse files
authored
fix: wget command in the API token screen (#722)
1 parent 1f01a2a commit 46623cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/settings/api-tokens/APITokenModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,5 @@ function getCurlCommand(token: string, endpoint: string) {
215215
}
216216

217217
function getWgetCommand(token: string, endpoint: string) {
218-
return `wget --header="Authorization: Bearer ${token}" "${encodeURI(endpoint)}"`;
218+
return `wget -qO- --header="Authorization: Bearer ${token}" "${encodeURI(endpoint)}"`;
219219
}

0 commit comments

Comments
 (0)