diff --git a/backend/src/api/auth/utils.rs b/backend/src/api/auth/utils.rs index e3b8546..3599b3a 100644 --- a/backend/src/api/auth/utils.rs +++ b/backend/src/api/auth/utils.rs @@ -51,7 +51,7 @@ pub async fn create_new_user(conn: &mut Connection, user: NewUser) -> Result Result { delete_refresh_token_if_exists(conn, user_id).await?; - diesel::insert_into(crate::db::schema::refresh_tokens::table) + diesel::insert_into(refresh_tokens::table) .values(&NewRefreshToken { user_id }) .get_result::(conn) .await