Problem: fetch2 is unused

Solution: remove fetch2
This commit is contained in:
Peter Stuifzand 2021-11-20 21:33:41 +01:00
parent fd3a246f0d
commit 7a9777b416
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -84,12 +84,6 @@ type newItemMessage struct {
Channel string `json:"channel"`
}
type fetch2 struct{}
func (f *fetch2) Fetch(url string) (*http.Response, error) {
return Fetch2(url)
}
func (b *memoryBackend) AuthTokenAccepted(header string, r *auth.TokenResponse) (bool, error) {
conn := b.pool.Get()
defer func() {