File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
engine/access/rest/websockets/models Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package models
2
2
3
3
// AccountStatusesResponse is the response message for 'events' topic.
4
4
type AccountStatusesResponse struct {
5
- BlockID string `json:"blockID "`
5
+ BlockID string `json:"block_id "`
6
6
Height string `json:"height"`
7
7
AccountEvents AccountEvents `json:"account_events"`
8
8
MessageIndex uint64 `json:"message_index"`
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package models
2
2
3
3
// SubscriptionEntry represents an active subscription entry.
4
4
type SubscriptionEntry struct {
5
+ SubscriptionID string `json:"subscription_id"` // ID is a client generated UUID for subscription
5
6
Topic string `json:"topic"` // Topic of the subscription
6
- SubscriptionID string `json:"id"` // Unique subscription ID
7
- Arguments Arguments `json:"arguments"` // Arguments of the subscription
7
+ Arguments Arguments `json:"arguments"`
8
8
}
You can’t perform that action at this time.
0 commit comments