Skip to content

Commit

Permalink
Merge pull request #13 from Clean-Software/fix/wrong-term-error
Browse files Browse the repository at this point in the history
🐛 fix: complete term error
  • Loading branch information
CarlosZoft authored Jan 8, 2024
2 parents 7e7e729 + c5aa6d1 commit c63d119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apis/pensador/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { getRandomInt } from "../../utils";

export const getPhrases = async (_request: Request, response: Response) => {
const pensador = new PensadorAPI("https://www.pensador.com", {
term: "frases_motivacionais",
page: getRandomInt(1, 653),
term: "motivacao",
page: getRandomInt(1, 2100),
});
try {
const phrases = await pensador.getPhrases();
Expand Down

0 comments on commit c63d119

Please sign in to comment.