mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
@@ -5,8 +5,6 @@ import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/zitadel/zitadel/internal/api/authz"
|
||||
"github.com/zitadel/zitadel/internal/api/service"
|
||||
)
|
||||
@@ -23,7 +21,7 @@ type BaseEvent struct {
|
||||
Agg *Aggregate
|
||||
|
||||
Seq uint64
|
||||
Pos decimal.Decimal
|
||||
Pos float64
|
||||
Creation time.Time
|
||||
previousAggregateSequence uint64
|
||||
previousAggregateTypeSequence uint64
|
||||
@@ -36,7 +34,7 @@ type BaseEvent struct {
|
||||
}
|
||||
|
||||
// Position implements Event.
|
||||
func (e *BaseEvent) Position() decimal.Decimal {
|
||||
func (e *BaseEvent) Position() float64 {
|
||||
return e.Pos
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user