Save post insight result in database

This commit is contained in:
2025-01-30 22:29:03 +08:00
parent 39ef6f9e0a
commit 9d9b2ac866
5 changed files with 33 additions and 22 deletions

View File

@@ -558,6 +558,9 @@ func DeletePost(item models.Post) error {
}),
UserId: lo.ToPtr(uint64(*item.Publisher.AccountID)),
})
if err != nil {
log.Error().Err(err).Msg("An error occurred when deleting post attachment...")
}
}
return nil