From fe1b945e974c959b7331f3ef869254aa39fe221a Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sat, 2 Nov 2024 13:34:21 +0100 Subject: [PATCH] backported unrelated typo/ tescase fixes from `rust-based-decoder` --- data/output/openapi.yaml | 2 +- ...48abc3186079b8e1eeb6c24255e6e11bc3847.json | 20 +++++++++++++++++++ server/src/setup/database/mod.rs | 2 +- webclient/app/api_types/index.ts | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 server/.sqlx/query-6303aef6257038a5fc73c35515248abc3186079b8e1eeb6c24255e6e11bc3847.json diff --git a/data/output/openapi.yaml b/data/output/openapi.yaml index 56d7ba5cb..096fe2a3a 100644 --- a/data/output/openapi.yaml +++ b/data/output/openapi.yaml @@ -1713,7 +1713,7 @@ components: - license ImageMetadata: description: | - Aditional data about the images. Does not have to be displayed. + Additional data about the images. Does not have to be displayed. All fields are optional. type: object properties: diff --git a/server/.sqlx/query-6303aef6257038a5fc73c35515248abc3186079b8e1eeb6c24255e6e11bc3847.json b/server/.sqlx/query-6303aef6257038a5fc73c35515248abc3186079b8e1eeb6c24255e6e11bc3847.json new file mode 100644 index 000000000..682a369cf --- /dev/null +++ b/server/.sqlx/query-6303aef6257038a5fc73c35515248abc3186079b8e1eeb6c24255e6e11bc3847.json @@ -0,0 +1,20 @@ +{ + "db_name": "PostgreSQL", + "query": "SELECT key FROM de", + "describe": { + "columns": [ + { + "ordinal": 0, + "name": "key", + "type_info": "Text" + } + ], + "parameters": { + "Left": [] + }, + "nullable": [ + false + ] + }, + "hash": "6303aef6257038a5fc73c35515248abc3186079b8e1eeb6c24255e6e11bc3847" +} diff --git a/server/src/setup/database/mod.rs b/server/src/setup/database/mod.rs index 15ef2b3a2..ff47ae9f3 100644 --- a/server/src/setup/database/mod.rs +++ b/server/src/setup/database/mod.rs @@ -52,7 +52,7 @@ async fn find_keys_which_need_updating( .await?; if number_of_keys == Some(0) { debug!( - "all {updated_cnt} keys need upating", + "all {updated_cnt} keys need updating", updated_cnt = keys.len() ); return Ok(keys.clone()); diff --git a/webclient/app/api_types/index.ts b/webclient/app/api_types/index.ts index 161574d96..6432a036f 100644 --- a/webclient/app/api_types/index.ts +++ b/webclient/app/api_types/index.ts @@ -311,7 +311,7 @@ export type components = { readonly meta?: components["schemas"]["ImageMetadata"]; }; /** - * @description Aditional data about the images. Does not have to be displayed. + * @description Additional data about the images. Does not have to be displayed. * All fields are optional. */ readonly ImageMetadata: {