mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
00fec8830a
* fix: push events instead of aggregates * fix: tests * try without aggregate methods and with aggregate methods * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: change push aggregate to push events * fix: client secret * fix: query eventtypes * fix: query eventtypes * fix: eventstore index * fix: index * fix: merge new eventstore * fix: remove unnecessary todos * fix: remove unnecessary todos Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
17 lines
337 B
Go
17 lines
337 B
Go
package management
|
|
|
|
import (
|
|
"github.com/caos/zitadel/internal/api/grpc/server/middleware"
|
|
)
|
|
|
|
func (c *Changes) Localizers() []middleware.Localizer {
|
|
if c == nil {
|
|
return nil
|
|
}
|
|
localizers := make([]middleware.Localizer, len(c.Changes))
|
|
for i, change := range c.Changes {
|
|
localizers[i] = change.EventType
|
|
}
|
|
return localizers
|
|
}
|