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

fix: set authorization to http headers #6

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

pvign
Copy link
Contributor

@pvign pvign commented Jun 30, 2023

Context:

An error is thrown when Expo::Push::Client is instantiated with an access token (see #3)

Problem:

http.headers should be called with an Hash while 2 arguments were passed here.

Solution:

According to http wiki, a more straightforward solution is to directly use http.auth

@SleeplessByte SleeplessByte merged commit 9b89f86 into SleeplessByte:main Jul 1, 2023
1 check passed
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.

None yet

2 participants