Fix authentication
This commit is contained in:
parent
01822e79bb
commit
3baaf86132
@ -68,6 +68,7 @@ async fn post_to_lemmy(
|
|||||||
|
|
||||||
let response = client
|
let response = client
|
||||||
.post(helper::api_url("post"))
|
.post(helper::api_url("post"))
|
||||||
|
.header("Authorization", "Bearer ".to_owned() + &auth)
|
||||||
.json(¶ms)
|
.json(¶ms)
|
||||||
.send()
|
.send()
|
||||||
.await?;
|
.await?;
|
||||||
|
Loading…
Reference in New Issue
Block a user