renamed from change to update in PUT endpoints

This commit is contained in:
Mika 2025-04-02 21:23:19 +02:00
parent 1ad0e4400a
commit fa098217f1
5 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ async fn create_class() -> impl Responder {
}
#[put("")]
async fn change_class() -> impl Responder {
async fn update_class() -> impl Responder {
""
}

View file

@ -23,7 +23,7 @@ async fn create_group() -> impl Responder {
}
#[put("")]
async fn change_group() -> impl Responder {
async fn update_group() -> impl Responder {
""
}

View file

@ -55,7 +55,7 @@ async fn create_project(
}
#[put("")]
async fn change_project(
async fn update_project(
db: web::Data<Database>,
update_project_struct: web::Json<UpdateProject>,
) -> Result<web::Json<entity::project::Model>, ApiError> {

View file

@ -23,7 +23,7 @@ async fn create_template() -> impl Responder {
}
#[put("")]
async fn change_template() -> impl Responder {
async fn update_template() -> impl Responder {
""
}

View file

@ -23,7 +23,7 @@ async fn create_user() -> impl Responder {
}
#[put("")]
async fn change_user() -> impl Responder {
async fn update_user() -> impl Responder {
""
}