mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
15 lines
326 B
Go
15 lines
326 B
Go
package auth
|
|
|
|
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
|
|
}
|