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

Ibrahimmalhas patch web push notification bug fixes #174

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ibrahimmalhas
Copy link

Purpose

  • ...
    The main branch code for web-notification has some errors when running the app. I just added the fixes for some typo error on the code.

Does this introduce a breaking change?

[X] Yes
[ ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code
    Run the "Web-Push-notification-sample" normally

Changes involve fix:

  1. Azure function App code
  2. axios and fetch dependencies
  3. fix the body data for "oneSignalRegistrationToken" function
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

added oneSignalRegistrationToken, since there was a missing key for the API body
adding fetch dependancy
adding missing fetch depenecy
fixing type error 
getOneSignalRegistrationInfo & setOneSignalRegistrationInfo

instead of 

getOneSignalRegistrationToken & setOneSignalRegistrationToken
@ibrahimmalhas
Copy link
Author

@microsoft-github-policy-service agree company="Microsoft"

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

Successfully merging this pull request may close these issues.

1 participant