chore: fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user