fix: im having a stroke it works

This commit is contained in:
aprilthepink 2024-07-17 02:38:49 +02:00
parent 3f9fb9e67a
commit 572e86624e

View file

@ -125,7 +125,7 @@ async fn fetch_user(
let db = DB.get().unwrap(); let db = DB.get().unwrap();
let user = prelude::User::find() let user = prelude::User::find()
.filter(post::Column::Id.eq(path.as_str())) .filter(user::Column::Id.eq(path.as_str()))
.one(db) .one(db)
.await?; .await?;