Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

"TypeError: Cannot read properties of undefined (reading 'host')" when trying to link steam profile to discord account. #70

Answered by LeventHAN
Gitdishit asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Gitdishit thanks for the reporting it in!
I've done a huge rewrite of the entire bot/panel. Therefor I just left that little error there since I didn't want people to use this bot YET... Very bad of me not writing this in README.md :(

However an easy fix would be replacing those lines with those

As you can see the issue is clear, I had rewrite the schema of mongodb where credentials were stored before, but after the change I didn't update profile.js to use it...

But once again, I wouldn't use main branch yet, since I did heavily modifie the bot in draft-1 branch. Which will be pushed to main soon...

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gitdishit
Comment options

Answer selected by LeventHAN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants