Skip to content

Commit

Permalink
remove api key
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmd-azeez committed Dec 18, 2024
1 parent cd28ed5 commit 24431df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servlets/tenor-gifs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type TenorMediaItem struct {
// NewTenorClient creates a new Tenor API client
func NewTenorClient() (*TenorClient, error) {
// Default API key embedded at build time
defaultAPIKey := "AIzaSyBPEvZcufj7hklpDLUmgz2MtLyQY8XHOio"
defaultAPIKey := "TENOR_API_KEY_PLACEHOLDER"

// Try to get API key from config first (allows users to override)
apiKey, ok := pdk.GetConfig("API_KEY")
Expand Down

0 comments on commit 24431df

Please sign in to comment.