Skip to content

Require recipient Telegram and validate bot token#324

Merged
alexjustesen merged 9 commits intoalexjustesen:mainfrom
garanda21:main
Jan 13, 2023
Merged

Require recipient Telegram and validate bot token#324
alexjustesen merged 9 commits intoalexjustesen:mainfrom
garanda21:main

Conversation

@garanda21
Copy link
Contributor

@garanda21 garanda21 commented Jan 13, 2023

This request fix count against null object.

As a bonus I've added a validation in case the TELEGRAM_BOT_TOKEN is empty or missing, with this we avoid error 404 Chat not found

php artisan config:cache is necessary becase new files were created at /config folder

Copy link
Owner

@alexjustesen alexjustesen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch on the validation, couple of things to adjust and make sure to run pint so code quality passes.

@alexjustesen alexjustesen added the bug Something isn't working label Jan 13, 2023
@garanda21
Copy link
Contributor Author

Good catch on the validation, couple of things to adjust and make sure to run pint so code quality passes.

Submit new commit with changes! Let me know any other issues...

@alexjustesen alexjustesen merged commit bf56509 into alexjustesen:main Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants