mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:47:32 +00:00
(cherry picked from commit aeb379e7de
)
This commit is contained in:

committed by
Livio Spring

parent
f0ce5d537c
commit
6bd706be98
@@ -5,8 +5,6 @@ import (
|
||||
"reflect"
|
||||
"time"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/zitadel/zitadel/internal/eventstore"
|
||||
"github.com/zitadel/zitadel/internal/zerrors"
|
||||
)
|
||||
@@ -22,7 +20,7 @@ var _ eventstore.Event = (*Event)(nil)
|
||||
type Event struct {
|
||||
ID string
|
||||
Seq uint64
|
||||
Pos decimal.Decimal
|
||||
Pos float64
|
||||
CreationDate time.Time
|
||||
Typ eventstore.EventType
|
||||
PreviousSequence uint64
|
||||
@@ -82,7 +80,7 @@ func (e *Event) Sequence() uint64 {
|
||||
}
|
||||
|
||||
// Position implements [eventstore.Event]
|
||||
func (e *Event) Position() decimal.Decimal {
|
||||
func (e *Event) Position() float64 {
|
||||
return e.Pos
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user