kill some fully qualified paths
This commit is contained in:
@@ -9,6 +9,7 @@ use serde::Deserialize;
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::{
|
||||
MnemoState,
|
||||
error::CompositeError,
|
||||
logs::{LogAction, LogEntry},
|
||||
persons::{Name, Person},
|
||||
@@ -20,7 +21,7 @@ use crate::{
|
||||
};
|
||||
|
||||
pub async fn page(
|
||||
State(state): State<crate::MnemoState>,
|
||||
State(state): State<MnemoState>,
|
||||
Path(id): Path<Uuid>,
|
||||
req: Request,
|
||||
) -> Result<Response, CompositeError> {
|
||||
@@ -106,7 +107,7 @@ pub struct AddNameForm {
|
||||
}
|
||||
|
||||
pub async fn add_name(
|
||||
State(state): State<crate::MnemoState>,
|
||||
State(state): State<MnemoState>,
|
||||
Path(id): Path<Uuid>,
|
||||
headers: HeaderMap,
|
||||
Form(form): Form<AddNameForm>,
|
||||
@@ -134,7 +135,7 @@ pub async fn add_name(
|
||||
}
|
||||
|
||||
pub async fn delete_name(
|
||||
State(state): State<crate::MnemoState>,
|
||||
State(state): State<MnemoState>,
|
||||
Path(id): Path<Uuid>,
|
||||
headers: HeaderMap,
|
||||
) -> Result<Response, CompositeError> {
|
||||
|
||||
Reference in New Issue
Block a user