Skip to content

Commit 9c2bad5

Browse files
committed
async typo
1 parent bfe8286 commit 9c2bad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ app.get('/add-sha/:sha', (req, res) => {
106106
})
107107
})
108108

109-
app.get('/collect-sha/:sha', (req, res) => {
109+
app.get('/collect-sha/:sha', async (req, res) => {
110110
// const ip = req.headers['x-forwarded-for']
111111
const ip = "176.10.112.40";
112112
const item = await Item.create({ sha: req.params.sha, ip: ip })

0 commit comments

Comments
 (0)