community.respondToConfirmation(
req.header('ConfirmationIds'), //array of ids
req.header('ConfirmationKeys'), //array of keys
maFile.server_time, //unix time
SteamTotp.getConfirmationKey(maFile.identity_secret, maFile.server_time, "conf"),
true,
err => err ? console.log(err) : console.log("Accepted!")
);
When running the above code im getting the typical time error "It looks like there is a problem with the time or timezone....."
All my other methods work fine including my getConfirmations() method, where i am using the same time value.
I thought maybe there's something wrong with how im getting the confirmation key? although i got the key the same way for my getConfirmations() method
Am i missing something here?