diff --git a/internal/feed/codeberg.go b/internal/feed/codeberg.go index edd83d7..d5e7b7c 100644 --- a/internal/feed/codeberg.go +++ b/internal/feed/codeberg.go @@ -11,7 +11,7 @@ type codebergReleaseResponseJson struct { HtmlUrl string `json:"html_url"` } -func FetchLatestCodebergRelease(request *ReleaseRequest) (*AppRelease, error) { +func fetchLatestCodebergRelease(request *ReleaseRequest) (*AppRelease, error) { httpRequest, err := http.NewRequest( "GET", fmt.Sprintf( diff --git a/internal/feed/releases.go b/internal/feed/releases.go index 596d1be..b0cdc25 100644 --- a/internal/feed/releases.go +++ b/internal/feed/releases.go @@ -59,7 +59,7 @@ func FetchLatestReleases(requests []*ReleaseRequest) (AppReleases, error) { func fetchLatestReleaseTask(request *ReleaseRequest) (*AppRelease, error) { switch request.Source { case ReleaseSourceCodeberg: - return FetchLatestCodebergRelease(request) + return fetchLatestCodebergRelease(request) case ReleaseSourceGithub: return fetchLatestGithubRelease(request) case ReleaseSourceGitlab: