mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-23 11:02:25 +00:00
fix: address release review follow-ups for #169
This commit is contained in:
1 parent
d3c330e8fb
commit
dea5395783
5 files changed
+6
-11
No files matched your search
+2
-2
@@ -32,7 +32,7 @@ type AnalyticsLiveHourlyIataStat struct {
|
||||
|
||||
type AnalyticsLiveObserverActivityHourly struct {
|
||||
ObserverID uuid.UUID `json:"observer_id"`
|
||||
PayloadType *int16 `json:"payload_type"`
|
||||
PayloadType int16 `json:"payload_type"`
|
||||
Bucket pgtype.Timestamptz `json:"bucket"`
|
||||
Observations int64 `json:"observations"`
|
||||
AirtimeMs float32 `json:"airtime_ms"`
|
||||
@@ -244,7 +244,7 @@ type MvHourlyIataStat struct {
|
||||
|
||||
type MvObserverActivityHourly struct {
|
||||
ObserverID uuid.UUID `json:"observer_id"`
|
||||
PayloadType *int16 `json:"payload_type"`
|
||||
PayloadType int16 `json:"payload_type"`
|
||||
Bucket pgtype.Timestamptz `json:"bucket"`
|
||||
Observations int64 `json:"observations"`
|
||||
AirtimeMs float32 `json:"airtime_ms"`
|
||||
|
||||
@@ -725,8 +725,8 @@ type GetObserverActivityHourlyPayloadTypesParams struct {
|
||||
}
|
||||
|
||||
type GetObserverActivityHourlyPayloadTypesRow struct {
|
||||
PayloadType *int16 `json:"payload_type"`
|
||||
Count int64 `json:"count"`
|
||||
PayloadType int16 `json:"payload_type"`
|
||||
Count int64 `json:"count"`
|
||||
}
|
||||
|
||||
func (q *Queries) GetObserverActivityHourlyPayloadTypes(ctx context.Context, arg GetObserverActivityHourlyPayloadTypesParams) ([]GetObserverActivityHourlyPayloadTypesRow, error) {
|
||||
|
||||
Reference in new issue
Block a user