|
|
@@ -79,7 +79,7 @@ public class StockRepository {
|
|
|
public boolean isValid(String code) {
|
|
|
Quote quote = repository.findByCode(code).stream().findFirst().orElse(null);
|
|
|
|
|
|
- if (quote != null && "BRL".equals(quote.getCurrency())) return true;
|
|
|
+ if (quote != null) return true;
|
|
|
|
|
|
try {
|
|
|
log.info("Current stock's name is null. Requesting latest information...");
|