Skip to content

Commit

Permalink
use linking limits for xyzabc from env
Browse files Browse the repository at this point in the history
  • Loading branch information
husobee committed Jul 13, 2023
1 parent cd02710 commit 328d8be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/wallet/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,10 @@ func getEnvMaxCards(custodian string) int {
if v, err := strconv.Atoi(os.Getenv("GEMINI_WALLET_LINKING_LIMIT")); err == nil {
return v
}
case "xyzabc":
if v, err := strconv.Atoi(os.Getenv("XYZABC_WALLET_LINKING_LIMIT")); err == nil {
return v
}
}
return 4
}
Expand Down

0 comments on commit 328d8be

Please sign in to comment.