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

MG-2026 - Fix JSON page response key from groups to channels #2298

Merged
merged 12 commits into from
Jun 26, 2024

Conversation

JeffMboya
Copy link
Contributor

@JeffMboya JeffMboya commented Jun 19, 2024

What type of PR is this?

This is a refactor

What does this do?

This PR fixes the JSON Page response key from groups to channels for the following endpoints:

  • GET /groups/{groupID}/channels
  • GET /channels
  • GET /users/{userID}/channels

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Manually tested endpoints

Did you document any new/modified feature?

No

Notes

@JeffMboya JeffMboya changed the title MG-2026 - Fix JSON page response key from groups to channels MG-2026 - Fix JSON page response key from groups to channels Jun 19, 2024
@JeffMboya JeffMboya self-assigned this Jun 19, 2024
@@ -82,7 +82,7 @@ func (res createGroupRes) Empty() bool {

type groupPageRes struct {
pageRes
Groups []viewGroupRes `json:"groups"`
Groups []viewGroupRes `json:"channels"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we use channel terminology for groups? I.e. no all groups are channels.

@dborovcanin dborovcanin force-pushed the MG-2026 branch 2 times, most recently from 3f0c128 to 8185f20 Compare June 24, 2024 16:13
Copy link
Collaborator

@dborovcanin dborovcanin left a comment

Choose a reason for hiding this comment

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

@JeffMboya Please fix the CI.

@dborovcanin dborovcanin force-pushed the MG-2026 branch 2 times, most recently from f2c78aa to 6c42c46 Compare June 26, 2024 11:43
@dborovcanin dborovcanin merged commit b0e37da into absmach:main Jun 26, 2024
6 checks passed
andychao217 pushed a commit to andychao217/magistrala that referenced this pull request Sep 23, 2024
MG-2142 - Consume Things connect/disconnect event in Bootstrap (absmach#2192)
NOISSUE - add CreatedAt and UpdatedAt fields for mgclients.Client (absmach#2306)
NOISSUE - Fix failed log message (absmach#2307)
MF-2299 - Update influxdb2 volumes path (absmach#2300)
NOISSUE - Remove redundant relation check (absmach#2197)
NOISSUE - Add domain events for Auth service (absmach#2313)
NOISSUE - Update CI tools (absmach#2314)
MG-888 - Update consumers SDK tests (absmach#2271)
MG-888 - Add bootstrap SDK tests (absmach#2261)
MG-2026 - Fix JSON page response key from groups to channels (absmach#2298)
MG-1965 - Process Event Logs (absmach#2057)
MG-1529 - User Removal (absmach#2122)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Fix JSON page response key from groups to channels
2 participants