Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
peterargue authored Jan 23, 2025
1 parent 899b691 commit 93bb915
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engine/access/rest/websockets/models/account_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

// AccountStatusesResponse is the response message for 'events' topic.
type AccountStatusesResponse struct {
BlockID string `json:"blockID"`
BlockID string `json:"block_id"`
Height string `json:"height"`
AccountEvents AccountEvents `json:"account_events"`
MessageIndex uint64 `json:"message_index"`
Expand Down
4 changes: 2 additions & 2 deletions engine/access/rest/websockets/models/subscription_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package models

// SubscriptionEntry represents an active subscription entry.
type SubscriptionEntry struct {
SubscriptionID string `json:"subscription_id"` // ID is a client generated UUID for subscription
Topic string `json:"topic"` // Topic of the subscription
SubscriptionID string `json:"id"` // Unique subscription ID
Arguments Arguments `json:"arguments"` // Arguments of the subscription
Arguments Arguments `json:"arguments"`
}

0 comments on commit 93bb915

Please sign in to comment.