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 StructureFuelAlert color #100

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

recursivetree
Copy link
Contributor

Fix for the following error reported on discord:

TypeError: Seat\Notifications\Services\Discord\Messages\DiscordEmbed::color(): Argument #1 ($color) must be of type int, string given, called in /var/www/seat/vendor/eveseat/notifications/src/Notifications/Structures/Discord/StructureFuelAlert.php on line 90 and defined in /var/www/seat/vendor/eveseat/notifications/src/Services/Discord/Messages/DiscordEmbed.php:161
Stack trace:
#0 /var/www/seat/vendor/eveseat/notifications/src/Notifications/Structures/Discord/StructureFuelAlert.php(90): Seat\Notifications\Services\Discord\Messages\DiscordEmbed->color('#439fe0')
#1 /var/www/seat/vendor/eveseat/notifications/src/Services/Discord/Messages/DiscordMessage.php(226): Seat\Notifications\Notifications\Structures\Discord\StructureFuelAlert->Seat\Notifications\Notifications\Structures\Discord\{closure}(Object(Seat\Notifications\Services\Discord\Messages\DiscordEmbed))
#2 /var/www/seat/vendor/eveseat/notifications/src/Notifications/Structures/Discord/StructureFuelAlert.php(79): Seat\Notifications\Services\Discord\Messages\DiscordMessage->embed(Object(Closure))

@warlof warlof merged commit 96ffce2 into eveseat:5.0.x Apr 16, 2024
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.

2 participants