aboutsummaryrefslogtreecommitdiff
path: root/internal/reader/opml/handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/reader/opml/handler.go')
-rw-r--r--internal/reader/opml/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/reader/opml/handler.go b/internal/reader/opml/handler.go
index c3e972b9..9257d354 100644
--- a/internal/reader/opml/handler.go
+++ b/internal/reader/opml/handler.go
@@ -23,7 +23,7 @@ func (h *Handler) Export(userID int64) (string, error) {
return "", err
}
- var subscriptions SubcriptionList
+ subscriptions := make(SubcriptionList, 0, len(feeds))
for _, feed := range feeds {
subscriptions = append(subscriptions, &Subcription{
Title: feed.Title,