Switch to symbols instead of currency names
This commit is contained in:
parent
040561c462
commit
ba6ae6db71
@ -18,9 +18,9 @@ func getMongoDBURI() string {
|
||||
func getCurrency() string {
|
||||
switch os.Getenv("SERRA_CURRENCY") {
|
||||
case "EUR":
|
||||
return "EUR"
|
||||
return "€"
|
||||
case "USD":
|
||||
return "USD"
|
||||
return "$"
|
||||
}
|
||||
// default
|
||||
LogMessage("Warning: You did not configure SERRA_CURRENCY. Assuming \"USD\"", "yellow")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user