Skip to content

Commit

Permalink
Merge pull request #2481 from HTGAzureX1212/nightly
Browse files Browse the repository at this point in the history
MInor Code Changes
  • Loading branch information
HTGAzureX1212 authored Dec 25, 2024
2 parents cadd1b2 + 1beaa97 commit 89d87ad
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 26 deletions.
10 changes: 4 additions & 6 deletions api-backend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions api-backend/hartex-backend-routes/src/uptime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/// # Uptime Routes
///
/// Routes interacting with the uptime API.
use axum::extract::Query;
use axum::extract::State;
use axum::http::StatusCode;
Expand Down
2 changes: 1 addition & 1 deletion database/hartex-database-typedsql/src/query/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ pub(crate) fn parse_select_query(
_: SelectStmt,
_: HashMap<String, SchemaInfo>,
) -> crate::error::Result<super::QueryInfo> {
//todo
// todo
Ok(super::QueryInfo)
}
10 changes: 4 additions & 6 deletions discord-frontend/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,15 @@ impl FromLua for ModlogLogger {
}

/// Configures modlog formats.
#[derive(Debug, Serialize)]
#[derive(Debug, Default, Serialize)]
pub enum ModlogFormat {
/// Default, text-only format.
#[default]
Default,
/// Embeds are used.
Pretty,
}

impl Default for ModlogFormat {
fn default() -> Self {
Self::Default
}
}

impl FromLua for ModlogFormat {
fn from_lua(lua_value: Value, _: &Lua) -> mlua::Result<Self> {
let Value::String(string) = lua_value.clone() else {
Expand Down
10 changes: 4 additions & 6 deletions rust-utilities/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 89d87ad

Please sign in to comment.