Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
api: fix TIER_KEY_PREFIX type in error message (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmizerany committed Apr 24, 2023
1 parent b5629c4 commit 1d7e590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ var errorLookup = map[error]*trweb.HTTPError{
control.ErrUnexpectedMissingOrg: {
Status: 500,
Code: "TERR1050",
Message: "Stripe reported a customer was created and then reported it did not exist. This might mean you purged your Test Mode and need to reset TIER_PREFIX_KEY=<randomString>.",
Message: "Stripe reported a customer was created and then reported it did not exist. This might mean you purged your Test Mode and need to reset TIER_KEY_PREFIX=<randomString>.",
},
control.ErrFeatureNotMetered: { // TODO(bmizerany): this may be relaxed if we decide to log and accept
Status: 400,
Expand Down

0 comments on commit 1d7e590

Please sign in to comment.