Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in "ident:" #29

Open
ScootScooter opened this issue Nov 8, 2020 · 1 comment
Open

Error in "ident:" #29

ScootScooter opened this issue Nov 8, 2020 · 1 comment

Comments

@ScootScooter
Copy link

I have installed this module, but it looks like it doesn't work correctly.
I have copied the code and changed the parts i needed to change.
But when I start the mirror it gives an error code.
it's saying that "--header" is incorrect.
But I have checked a few websites and all of them are saying i need it.
What's wrong with my code?

{
module: 'phone_notification',
position: 'bottom_left',
header: 'Phone Notifications',
config:
{
accessToken: 'o.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
numberOfNotifications: 5,
displayNotificationIcon: true,
displayMessage: true,
displayCount: false,
alert: false,
fade: true,
maxCharacters: 50,
useEncryption: false,
key:
{
password: "SuperSecretPassword123",
ident: curl --header 'Access-Token: o.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \ https://api.pushbullet.com/v2/users/me,
}
}
},

@Ryancru2309
Copy link

Hello, you will need to run the "curl --header 'Access-Token: o.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \ https://api.pushbullet.com/v2/users/me" in the terminal for and it will give you an ident code. This is what is used in the .js file. Hope this helps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants