mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-23 14:57:46 +00:00
Revert "fix(eventstore): use decimal for position (#9881)"
This reverts commit e14639c0ad
.
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
"github.com/zitadel/logging"
|
||||
|
||||
"github.com/zitadel/zitadel/internal/api/authz"
|
||||
@@ -26,7 +25,7 @@ type BaseEvent struct {
|
||||
Agg *Aggregate
|
||||
|
||||
Seq uint64
|
||||
Pos decimal.Decimal
|
||||
Pos float64
|
||||
Creation time.Time
|
||||
previousAggregateSequence uint64
|
||||
previousAggregateTypeSequence uint64
|
||||
@@ -39,7 +38,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