Inkognitoo Posted June 22, 2016 Report Share Posted June 22, 2016 I have this error everytime after trade confirmationWhat i did wrong? My code: let time_conf = Math.floor(Date.now() / 1000); let key_conf = SteamTotp.getConfirmationKey(this.identity_secret, time_conf, "conf"); this.community.getConfirmations(time_conf, key_conf, (err, confirmations) => { setTimeout(() => { let time = Math.floor(Date.now() / 1000); let key = SteamTotp.getConfirmationKey(this.identity_secret, time, "accept"); confirmations[0].respond(time, key, true, (err) => { console.log('err', err); }); }, 1001); }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted June 22, 2016 Report Share Posted June 22, 2016 The tag for accepting needs to be allow, not accept. Inkognitoo 1 Quote Link to comment Share on other sites More sharing options...
Inkognitoo Posted June 23, 2016 Author Report Share Posted June 23, 2016 Thanks you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.