1 files changed,
2 insertions(+),
1 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2025-12-26 20:09:54 +0200
Change ID:
vltrwoumptyxltsqnzwnwxvuvpkkqmvr
Parent:
f95b002
M
internal/freshrss/client.go
@@ -23,7 +23,7 @@ StateStarred = "user/-/state/com.google/starred"
) var ( - ErrInvalidRequest = errors.New("invalid invalid request") + ErrInvalidRequest = errors.New("invalid request") ErrUnauthorized = errors.New("unauthorized") )@@ -34,6 +34,7 @@ client *http.Client
} func NewClient(host string) *Client { + // todo: validate host url return &Client{ host: host, client: &http.Client{