From 26ce7e25507824c509c6dfaac5393abc69353689 Mon Sep 17 00:00:00 2001 From: luzpaz <luzpaz@users.noreply.github.com> Date: Wed, 5 Feb 2025 20:58:04 -0500 Subject: [PATCH] Fix various typos (#231) Found via `codespell -q 3 -S "*.ai,*.rtf" -L ser,uptodate` --- CHANGELOG.md | 2 +- docs/CONFIGURATION.md | 2 +- src/app/config.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a2d413..010bc69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,7 +46,7 @@ - Documentation is now served under `/api-docs` instead of `/swagger` (eg. `http://localhost:5050/api-docs`) - Clients are now expected to send their preferred API major version in a `Accept-Version` header. Omitting this currently defaults to `7`, but will become an error in future Polaris releases. Support for API version 7 will be removed entirely in a future release. - Most API responses now support gzip compression. -- The response format of the `/browse`, `/flatten`, `/get_playlist`, `/search/<query>` endpoints has been modified to accomodate large lists. +- The response format of the `/browse`, `/flatten`, `/get_playlist`, `/search/<query>` endpoints has been modified to accommodate large lists. - Added new endpoints to query albums and artists. - The `/random` and `/recent` albums are deprecated in favor of `/albums/random` and `/albums/recent`. These endpoints now have optional parameters for RNG seeding and pagination. - The `/search/<query>` endpoint now requires a non-empty query (`/search/` now returns HTTP status code 404, regardless of API version). diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index b736c23..68d0b08 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -12,7 +12,7 @@ The location of the configuration file is always logged during Polaris startup. ## Format -The configuration file uses the [TOML](https://toml.io/) format. Everything in the configuration file is optional and may be ommitted (unless mentioned otherwise). +The configuration file uses the [TOML](https://toml.io/) format. Everything in the configuration file is optional and may be omitted (unless mentioned otherwise). ```toml # Regular expression used to identify album art in files adjacent to an audio file diff --git a/src/app/config.rs b/src/app/config.rs index 60f86b5..85db237 100644 --- a/src/app/config.rs +++ b/src/app/config.rs @@ -119,7 +119,7 @@ impl Manager { if let Err(e) = manager.reload_config().await { error!("Configuration error: {e}"); } else { - info!("Sucessfully applied configuration change"); + info!("Successfully applied configuration change"); } } }