Skip to content

Commit

Permalink
Add contact info
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarsti committed Sep 11, 2024
1 parent 1137055 commit 7710e13
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 @@ -53,7 +53,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")
err := fmt.Errorf("no api-key was provided, please email [email protected] to buy one")
return errorResponse(err), nil
}
valid, err := dynamodb.VerifyAPIKey(apiKey)
Expand Down

0 comments on commit 7710e13

Please sign in to comment.