chore: fixes

This commit is contained in:
xuu
2025-03-31 10:49:36 -06:00
parent aedc9245e5
commit 69755e14d2
5 changed files with 35 additions and 36 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ func run(ctx context.Context, c *console.C[args]) error {
return err
}
}
if a.URI != "" {
res, err := http.Get(a.URI)
if err != nil {
@@ -104,7 +104,7 @@ func run(ctx context.Context, c *console.C[args]) error {
if err != nil {
return fmt.Errorf("%w: %w", ErrParseFailed, err)
}
return storeFeed(ctx, db, twtfile)
}
return nil