1
0
Fork 0
forked from alemi/upub

fix: bad fix for sqlite

This commit is contained in:
əlemi 2024-05-03 05:10:26 +02:00
parent 97b0c822f4
commit 85a2bedc1a
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -197,6 +197,7 @@ async fn crawl_replies(ctx: &Context, id: &str, depth: usize) -> crate::Result<(
{ {
Ok(_) => {}, Ok(_) => {},
Err(sea_orm::DbErr::RecordNotInserted) => {}, Err(sea_orm::DbErr::RecordNotInserted) => {},
Err(sea_orm::DbErr::Exec(_)) => {}, // ughhh bad fix for sqlite
Err(e) => return Err(e.into()), Err(e) => return Err(e.into()),
} }