Add X-Title and referer headers on exchange to tetrate (#4250)
Signed-off-by: John Landa <jonathanlanda@gmail.com>
This commit is contained in:
@@ -108,6 +108,8 @@ impl PkceAuthFlow {
|
|||||||
|
|
||||||
let response = client
|
let response = client
|
||||||
.post(TETRATE_TOKEN_URL)
|
.post(TETRATE_TOKEN_URL)
|
||||||
|
.header("X-Title", "goose")
|
||||||
|
.header("Referer", "https://github.com/block/goose")
|
||||||
.json(&request_body)
|
.json(&request_body)
|
||||||
.send()
|
.send()
|
||||||
.await?;
|
.await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user