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

Beds 849/adjust discord webhooks #1010

Merged
merged 3 commits into from
Oct 24, 2024
Merged

Conversation

Eisei24
Copy link
Contributor

@Eisei24 Eisei24 commented Oct 22, 2024

No description provided.

@@ -1942,10 +1940,13 @@ func (d *DataAccessService) GetNotificationSettingsDashboards(ctx context.Contex
resultMap[key].ChainIds = []uint64{valDashboard.Network}

// Set the settings
if valSettings, ok := resultMap[key].Settings.(*t.NotificationSettingsValidatorDashboard); ok {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I noticed that we had a bug here (and the acc dashboard equivalent below).
The Settings are not a pointer so the type check never worked and we never got the correct webhook (& realtime mode) info, just the default WebhookUrl = "", IsWebhookDiscordEnabled = false.

Copy link

cloudflare-workers-and-pages bot commented Oct 24, 2024

Deploying beaconchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: af51fa4
Status: ✅  Deploy successful!
Preview URL: https://924ebc6b.beaconchain.pages.dev
Branch Preview URL: https://beds-849-adjust-discord-webh.beaconchain.pages.dev

View logs

@peterbitfly peterbitfly merged commit ae5ae64 into staging Oct 24, 2024
3 checks passed
@Eisei24 Eisei24 deleted the BEDS-849/Adjust_discord_webhooks branch October 24, 2024 08:35
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