Update env variable names for credentials
Renamed USERNAME and PASSWORD to CRED_USERNAME and CRED_PASSWORD in .env.example and updated their usage in test.js to improve clarity and avoid potential conflicts.
This commit is contained in:
parent
5c13c3860c
commit
62b73e2a79
@ -1,3 +1,3 @@
|
|||||||
# Credentials
|
# Credentials
|
||||||
USERNAME="username"
|
CRED_USERNAME="username"
|
||||||
PASSWORD="password"
|
CRED_PASSWORD="password"
|
||||||
2
test.js
2
test.js
@ -3,7 +3,7 @@ const { Bifrost } = require("./src/lib")
|
|||||||
const bifrost = new Bifrost()
|
const bifrost = new Bifrost()
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const client = await bifrost.login(process.env.USERNAME, process.env.PASSWORD)
|
const client = await bifrost.login(process.env.CRED_USERNAME, process.env.CRED_PASSWORD)
|
||||||
}
|
}
|
||||||
|
|
||||||
main()
|
main()
|
||||||
Loading…
x
Reference in New Issue
Block a user