Skip to content

Commit

Permalink
Updated to listLeads
Browse files Browse the repository at this point in the history
  • Loading branch information
codingforentrepreneurs committed Jan 27, 2024
1 parent 8b5b606 commit fb7274a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ app.get("/path", (req, res, next) => {


app.get("/leads", async (req, res, next) => {
const results = await crud.getLeads()
const results = await crud.listLeads()
return res.status(200).json({
results: results,
});
Expand Down

0 comments on commit fb7274a

Please sign in to comment.