Skip to content

fix: extract card alertID from url for update endpoint - #387

Merged
tessstoddard merged 1 commit into
masterfrom
tess/managed-card-alert-fix
Aug 26, 2026
Merged

fix: extract card alertID from url for update endpoint#387
tessstoddard merged 1 commit into
masterfrom
tess/managed-card-alert-fix

Conversation

@tessstoddard

@tessstoddard tessstoddard commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

Extracting the alertId from the url for update managed card alert. Synchronicity does not pass on the alertId in the request body because it is already returned in the URL. So we need to update here to be able to retrieve that ID

Fixes # https://mxcom.atlassian.net/browse/GCU-1459

Public API Additions/Changes

Updates the ManagedCardAlertBaseAccessor update(cardId, alert) -> update(alertId, cardId, alert)

Downstream Consumer Impact

This only impacts path-connector-globalcu. It is the only service using this feature right now, which is still in development

How Has This Been Tested?

I created a local snapshot and verified that all the parameters were getting set correctly

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@tessstoddard
tessstoddard merged commit 3571d5b into master Aug 26, 2026
7 checks passed
@tessstoddard
tessstoddard deleted the tess/managed-card-alert-fix branch August 26, 2026 00:04
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