Cleanup
This commit is contained in:
parent
dd29f70850
commit
afd778f11c
@ -74,7 +74,7 @@ func currency(c string) (string, error) {
|
|||||||
case "":
|
case "":
|
||||||
return "USD", nil
|
return "USD", nil
|
||||||
default:
|
default:
|
||||||
return "", fmt.Errorf("%v", "invalid currency abbreviation")
|
return "", fmt.Errorf("invalid currency abbreviation")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user