Fix authentication

This commit is contained in:
prcrst 2024-03-08 09:28:55 +01:00
parent 01822e79bb
commit 3baaf86132

View File

@ -68,6 +68,7 @@ async fn post_to_lemmy(
let response = client
.post(helper::api_url("post"))
.header("Authorization", "Bearer ".to_owned() + &auth)
.json(&params)
.send()
.await?;