summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/users.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/users.rs b/src/api/users.rs
index d9859e7..fcbaf4d 100644
--- a/src/api/users.rs
+++ b/src/api/users.rs
@@ -1,6 +1,5 @@
use actix_web::http::{header, StatusCode};
use actix_web::{post, put, web, HttpResponse, ResponseError, Scope};
-use exun::RawUnexpected;
use raise::yeet;
use serde::Deserialize;
use sqlx::MySqlPool;
@@ -139,4 +138,6 @@ pub fn service() -> Scope {
web::scope("/users")
.service(create_user)
.service(update_user)
+ .service(update_username)
+ .service(update_password)
}