Skip to content

Commit c280096

Browse files
TiagoSeverinoandrewda
authored andcommitted
Fix wrong confirmation (#68)
1 parent 08b4b60 commit c280096

File tree

1 file changed

+1
-1
lines changed
  • Chapter 6 - Connecting Sites and Bots/Chapter 6.2 - Getting Started/project10

1 file changed

+1
-1
lines changed

Diff for: Chapter 6 - Connecting Sites and Bots/Chapter 6.2 - Getting Started/project10/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ app.get('/deposit', (req, res) => {
126126
steamid: req.user.steamid
127127
},
128128
(err, inv) => {
129-
if (inv && Date.now() - inv.updated > 6 * 60 * 60 * 1000) {
129+
if (inv && Date.now() - inv.updated < 6 * 60 * 60 * 1000) {
130130
res.render('deposit', {
131131
user: req.user,
132132
items: inv.items

0 commit comments

Comments
 (0)