Skip to content

WS-2610-extra: Update param#14043

Merged
hotinglok merged 2 commits into
WS-2610-sport-data-pollingfrom
WS-2610-extra
May 20, 2026
Merged

WS-2610-extra: Update param#14043
hotinglok merged 2 commits into
WS-2610-sport-data-pollingfrom
WS-2610-extra

Conversation

@Isabella-Mitchell
Copy link
Copy Markdown
Contributor

Resolves JIRA:

Summary

A very high-level summary of easily-reproducible changes that can be understood by non-devs, and why these changes where made.

Code changes

  • List key code changes that have been made.

Testing

  1. List the steps required to test this PR.

Useful Links

Copilot AI review requested due to automatic review settings May 20, 2026 11:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the sport data polling request URL so the query parameter name matches the event URN being sent, aligning the client request with the expected API contract for the /ws/poll-data/sport endpoint.

Changes:

  • Renamed the polling request query parameter from liveSportDataUrn to sportDataEventUrn.

const webCdnHost = getEnvConfig().WEB_CDN_URL;
const encodedUrn = encodeURIComponent(sportDataEventUrn);
const fetchUrl = `${webCdnHost}/ws/poll-data/sport?liveSportDataUrn=${encodedUrn}`;
const fetchUrl = `${webCdnHost}/ws/poll-data/sport?sportDataEventUrn=${encodedUrn}`;
const webCdnHost = getEnvConfig().WEB_CDN_URL;
const encodedUrn = encodeURIComponent(sportDataEventUrn);
const fetchUrl = `${webCdnHost}/ws/poll-data/sport?liveSportDataUrn=${encodedUrn}`;
const fetchUrl = `${webCdnHost}/ws/poll-data/sport?sportDataEventUrn=${encodedUrn}`;
@hotinglok hotinglok merged commit 44d8573 into WS-2610-sport-data-polling May 20, 2026
10 of 11 checks passed
@hotinglok hotinglok deleted the WS-2610-extra branch May 20, 2026 11:38
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.

3 participants