Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
burn2delete committed Jun 19, 2024
1 parent cdcc3b9 commit 92fedb2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webhooks/webhooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"encoding/json"
"fmt"
"io"
"log"
"log/slog"
"net/http"
"strings"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 92fedb2

Please sign in to comment.