Commit f18845ca authored by Benzakein Jeremy's avatar Benzakein Jeremy

las commit

parent f48e3da5
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Node Server",
"program": "${workspaceFolder}\\server.js"
}
]
}
\ No newline at end of file
This diff is collapsed.
......@@ -9,7 +9,7 @@ const CognitiveServicesCredentials = require('ms-rest-azure').CognitiveServicesC
let people_dict = {};
exports.getPeopleCount = async ()=>{
return await swapi.get('https://swapi.co/api/people').then(result=>{
return result.count;
return JSON.stringify(result.count);
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment