Reply with HTML content type
This commit is contained in:
parent
8bb5e037bc
commit
f902f2a45a
@ -55,7 +55,7 @@ async fn auth_done(query: AuthDone, state: State) -> anyhow::Result<impl warp::R
|
||||
|
||||
let _client = monzo_client_from_code(&state, &query.code).await?;
|
||||
|
||||
Ok("Success! Please authorise in Monzo, then click <a href='/auth_confirmed'>here</a>.")
|
||||
Ok(warp::reply::html("Success! Please authorise in Monzo, then click <a href='/auth_confirmed'>here</a>."))
|
||||
}
|
||||
|
||||
async fn auth_done_wrapped(
|
||||
|
Loading…
Reference in New Issue
Block a user