From 92fedb22dc07b38dc7a9aa6e423292f6f057e959 Mon Sep 17 00:00:00 2001 From: Matthew Ratzke Date: Wed, 19 Jun 2024 14:13:06 -0600 Subject: [PATCH] cleanup --- webhooks/webhooks.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webhooks/webhooks.go b/webhooks/webhooks.go index 8426d2d..eeea7eb 100644 --- a/webhooks/webhooks.go +++ b/webhooks/webhooks.go @@ -7,7 +7,6 @@ import ( "encoding/json" "fmt" "io" - "log" "log/slog" "net/http" "strings" @@ -117,7 +116,7 @@ func WebhookHandler(config *Config.Config, cache Cache.Cache, httpClient *http.C // Update the cache using the fetched schema cache.Set(cacheKey, schema, config.Cache.Duration) } else { - log.Printf("Cache is disabled, skipping cache update for GraphID %s, VariantID %s", graphID, variantID) + logger.Info("Cache is disabled, skipping cache update for GraphID %s, VariantID %s", graphID, variantID) } // Send a response back to the webhook sender