Skip to content

Commit 08b4b60

Browse files
TiagoSeverinoandrewda
authored andcommitted
Fix wrong confirmation (#69)
1 parent 289bcdb commit 08b4b60

File tree

1 file changed

+1
-1
lines changed
  • Chapter 6 - Connecting Sites and Bots/Chapter 6.3 - Beginning the Connection/project10

1 file changed

+1
-1
lines changed

Chapter 6 - Connecting Sites and Bots/Chapter 6.3 - Beginning the Connection/project10/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ app.get('/deposit', (req, res) => {
163163
steamid: req.user.steamid
164164
},
165165
(err, inv) => {
166-
if (inv && Date.now() - inv.updated > 6 * 60 * 60 * 1000) {
166+
if (inv && Date.now() - inv.updated < 6 * 60 * 60 * 1000) {
167167
res.render('deposit', {
168168
user: req.user,
169169
items: inv.items

0 commit comments

Comments
 (0)