Posts by Jederson Andre • 1 point
5 posts
-
0
votes1
answer49
viewsA: function only returns predises
SOLUTION: const getListaBeneficioJson = async () => { var listaBenef = []; var jsonBenef = `${__dirname}/json/file.json`; try { var benef = JSON.parse(fs.readFileSync(jsonBenef, 'utf-8')); benef…
-
-1
votes1
answer49
viewsQ: function only returns predises
I’m studying on JS with Node and Express. I am developing an application that will consult emergency relief data through the GOV API. I have a function that returns the JSON data of a given CPF, it…
-
0
votes1
answer82
viewsA: API Consumption with Fetch js
Well...as there was no one who could guide, I went for the answer. The problem was fetch, fetch is interpreted by the browser, and I was doing it in the back end. the simple solution is to use…
javascriptanswered Jederson Andre 1 -
-1
votes1
answer82
viewsQ: API Consumption with Fetch js
This is devs... I’m trying to consume the federal government’s API on emergency relief. My problem is when I fetch, I get returned this error: codigo: async function buscar() { var link =…
javascriptasked Jederson Andre 1 -
0
votes1
answer82
viewsQ: How to prevent Hibernate from creating columns from the fields of an abstract mother class
I have an abstract class Pessoas with methods getters and setters and a concrete class that inherits from Pessoas (members). By mapping the concrete class as Entity and its fields, it is creating…