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 null token #177

Merged
merged 1 commit into from
Jul 21, 2022
Merged

Fix null token #177

merged 1 commit into from
Jul 21, 2022

Conversation

miki131
Copy link
Contributor

@miki131 miki131 commented Jul 21, 2022

When config is empty $token is null

   TypeError

  SergiX44\Nutgram\Nutgram::__construct(): Argument #1 ($token) must be of type string, null given, calle
d in /home/vagrant/code/g2x/laravel/vendor/nutgram/nutgram/src/NutgramServiceProvider.php on line 46

  at vendor/nutgram/nutgram/src/Nutgram.php:78

@miki131 miki131 requested a review from sergix44 as a code owner July 21, 2022 11:57
@sergix44 sergix44 merged commit 0eb8b91 into nutgram:master Jul 21, 2022
@miki131 miki131 deleted the patch-1 branch July 21, 2022 15:47
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