Skip to content

fix: new endpoint name#184

Merged
gusfcarvalho merged 1 commit intomainfrom
gc-fix-subscription-endpoint
Feb 18, 2026
Merged

fix: new endpoint name#184
gusfcarvalho merged 1 commit intomainfrom
gc-fix-subscription-endpoint

Conversation

@gusfcarvalho
Copy link
Contributor

No description provided.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copilot AI review requested due to automatic review settings February 18, 2026 15:42
@gusfcarvalho gusfcarvalho enabled auto-merge (squash) February 18, 2026 15:48
Copy link
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

This PR updates the API endpoint name from /api/users/me/digest-subscription to /api/users/me/subscriptions and renames the corresponding TypeScript interface from DigestSubscriptionPreferences to SubscriptionsPreferences. This appears to be a refactoring to use a more general naming convention that better reflects the endpoint's broader scope of handling multiple subscription types (digest, task available, and task daily digest).

Changes:

  • Renamed TypeScript interface from DigestSubscriptionPreferences to SubscriptionsPreferences
  • Updated API endpoint from /api/users/me/digest-subscription to /api/users/me/subscriptions in both GET and PUT requests
  • Updated all test mocks to use the new endpoint name
  • Updated code comments to reflect the new naming ("subscriptions" instead of "digest subscription")

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/views/PreferencesView.vue Updated interface name, API endpoint URLs, and related comments to use the new "subscriptions" naming convention
src/views/tests/PreferencesView.spec.ts Updated all test mocks to use the new /api/users/me/subscriptions endpoint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gusfcarvalho gusfcarvalho merged commit 05783aa into main Feb 18, 2026
9 checks passed
@gusfcarvalho gusfcarvalho deleted the gc-fix-subscription-endpoint branch February 18, 2026 15:59
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