Skip to content

Commit

Permalink
fix(stock price checker): add missing function return (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
lasjorg authored Sep 3, 2024
1 parent 47b6660 commit 0fe3a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/stock-price-checker/controllers/stockHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function StockHandler() {
const validTickerRegExp = /^[a-z]{1,6}$/;
const isValidStock = stock => {
const stockL = stock.toLowerCase().trim();
validTickerRegExp.test(stockL);
return validTickerRegExp.test(stockL);
};

module.exports = StockHandler;

0 comments on commit 0fe3a21

Please sign in to comment.