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