missed something
This commit is contained in:
parent
a1401529e3
commit
24cf2323a3
@ -8,8 +8,6 @@ module.exports = {
|
||||
private: true,
|
||||
run: async (client, interaction) => {
|
||||
const file = './cache/' + interaction.user.id
|
||||
console.log(process.env.USER)
|
||||
console.log(process.env.PASS)
|
||||
|
||||
unirest
|
||||
.post(`https://${process.env.PUBLIC_URL}/api/chat`)
|
||||
|
@ -34,7 +34,7 @@ module.exports = {
|
||||
const response = await axios.get(`http://${process.env.INTERNAL_IP}:8008/api/chat/` + session2, {
|
||||
headers,
|
||||
auth: {
|
||||
username: process.env.USER,
|
||||
username: process.env.USERNAME,
|
||||
password: process.env.PASS
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user