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(api-service): v1 widget and subscriber template preferences return tags #7970

Merged
merged 2 commits into from
Mar 21, 2025

Conversation

LetItRock
Copy link
Contributor

What changed? Why was the change needed?

API service changes: the v1 widgets and subscribers' GET/PATCH preferences endpoints should return the tags, data properties from the workflow.

Screenshots

Screenshot 2025-03-21 at 11 16 41
Screenshot 2025-03-21 at 11 15 38
Screenshot 2025-03-21 at 11 15 31
Screenshot 2025-03-21 at 10 49 42
Screenshot 2025-03-21 at 10 48 22
Screenshot 2025-03-21 at 10 43 24
Screenshot 2025-03-21 at 10 36 17

Comment on lines 132 to +133
tags: workflow.tags,
data: workflow.data,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the tags and data fields should be returned from the workflow preferences in v1, as the NC preferencesFilter could be used to filter the preferences by this information

Comment on lines +496 to +497
tags: result.workflow.tags,
data: result.workflow.data,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

return these fields on the PATCH endpoint in v1

@SokratisVidros SokratisVidros merged commit a727705 into next Mar 21, 2025
23 checks passed
@SokratisVidros SokratisVidros deleted the nv-4996-v1-widgets-subscribers-preferences-tags branch March 21, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants