Skip to content

Commit

Permalink
Don't send email address
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarsti committed Jan 17, 2024
1 parent e3000cc commit 08a12cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/lambda/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func HandleRequest(req events.APIGatewayProxyRequest) (*events.APIGatewayProxyRe
// check if apiKey is valid
log.Printf("api-key was: '%s'", apiKey)
if apiKey == "" {
err := fmt.Errorf("no api-key was provided, please email [email protected] to get a free api key")
err := fmt.Errorf("no api-key was provided")
return errorResponse(err), nil
}
valid, err := dynamodb.VerifyAPIKey(apiKey)
Expand Down

0 comments on commit 08a12cb

Please sign in to comment.