From 572e86624e1b1dc0364e3d1993be27db406bf316 Mon Sep 17 00:00:00 2001 From: aprilthepink Date: Wed, 17 Jul 2024 02:38:49 +0200 Subject: [PATCH] fix: im having a stroke it works --- src/lysand/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lysand/http.rs b/src/lysand/http.rs index a27c0b7..e6dd42d 100644 --- a/src/lysand/http.rs +++ b/src/lysand/http.rs @@ -125,7 +125,7 @@ async fn fetch_user( let db = DB.get().unwrap(); let user = prelude::User::find() - .filter(post::Column::Id.eq(path.as_str())) + .filter(user::Column::Id.eq(path.as_str())) .one(db) .await?;