Skip to content

Commit

Permalink
missed an await keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
bcollard committed Feb 9, 2024
1 parent 030afa6 commit 7b61298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ app.post("/upload", async (req, res) => {

app.get("/items", async (req, res) => {
logger.info('get on /items');
postgresql
await postgresql
.search(req.query.q)
.then(async (results) => {
if (results === undefined) {
Expand Down

0 comments on commit 7b61298

Please sign in to comment.