fix: datetime parsing

This commit is contained in:
nullishamy 2025-05-01 23:23:36 +01:00
parent f7f57e92e3
commit 41c0091e98
Signed by: amy
SSH key fingerprint: SHA256:WmV0uk6WgAQvDJlM8Ld4mFPHZo02CLXXP5VkwQ5xtyk
3 changed files with 37 additions and 6 deletions

View file

@ -327,6 +327,8 @@ async fn handle_boost_activity<'a>(
);
let user_id = actor_user.id();
info!("inserting post with id {} uri {}", base_id, uri);
sqlx::query!(
"
INSERT INTO post (id, uri, user_id, content, created_at, boosted_post_id)