Skip to content

Commit

Permalink
fix: instagram-auth console log going to display username
Browse files Browse the repository at this point in the history
  • Loading branch information
davodm committed Oct 11, 2023
1 parent 210aba3 commit 9d04e25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auth/instagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ async function login() {
process.env.IG_PASSWORD
);
// Show user
console.log(user);
console.log("Logged in as %s", user.username);
if(user?.category) console.log("Category:",user.category);
})
.catch(IgCheckpointError, async () => {
console.log(ig.state.checkpoint); // Checkpoint info here
Expand Down

0 comments on commit 9d04e25

Please sign in to comment.