Fix unused import and dead code warnings
All checks were successful
Build MIPS Binary / build (push) Successful in 4m6s
All checks were successful
Build MIPS Binary / build (push) Successful in 4m6s
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use crate::{db::Db, AppState};
|
use crate::AppState;
|
||||||
use axum::{
|
use axum::{
|
||||||
extract::{State, Json},
|
extract::{State, Json},
|
||||||
http::StatusCode,
|
http::StatusCode,
|
||||||
@@ -15,6 +15,7 @@ pub struct LoginRequest {
|
|||||||
password: String,
|
password: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
#[derive(Serialize, ToSchema)]
|
#[derive(Serialize, ToSchema)]
|
||||||
pub struct UserResponse {
|
pub struct UserResponse {
|
||||||
username: String,
|
username: String,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
use leptos::*;
|
use leptos::*;
|
||||||
use leptos_router::*;
|
use leptos_router::*;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Serialize;
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct LoginRequest {
|
struct LoginRequest {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
use leptos::*;
|
use leptos::*;
|
||||||
use leptos_router::*;
|
use leptos_router::*;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::Serialize;
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct SetupRequest {
|
struct SetupRequest {
|
||||||
|
|||||||
Reference in New Issue
Block a user