fix: typos in OpenApi ()

This commit is contained in:
Daniil Egortsev 2024-06-10 19:37:19 +02:00 committed by GitHub
parent 7d28a3dd23
commit 074646bcf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions
CONTRIBUTORS.md
server
core/src/https
web_ui/user/src/components

View file

@ -37,6 +37,7 @@
- Jinna Kiisuo (jinnatar)
- Merlijn Verstraete (ToxicMushroom)
- Tobias Krischer (tobikris)
- Daniil Egortsev (playhardgopro)
## Acknowledgements

View file

@ -1238,7 +1238,7 @@ pub async fn account_user_auth_token_delete(
}
#[utoipa::path(
get,
post,
path = "/v1/credential/_exchange_intent",
params(
),
@ -1263,7 +1263,7 @@ pub async fn credential_update_exchange_intent(
}
#[utoipa::path(
get,
post,
path = "/v1/credential/_status",
responses(
(status=200), // TODO: define response

View file

@ -236,7 +236,7 @@ impl Component for CreateResetCode {
impl CreateResetCode {
async fn credential_get_update_intent_token(id: String) -> Result<Msg, FetchError> {
let uri = format!("/v1/person/{}/_credential/_update_intent?ttl=0", id);
let uri = format!("/v1/person/{}/_credential/_update_intent/0", id);
let (kopid, status, value, _) =
do_request(&uri, RequestMethod::GET, None::<JsValue>).await?;