zitadel/pkg/grpc/auth/changes.go
Florian Forster fa9f581d56
chore(v2): move to new org (#3499)
* chore: move to new org

* logging

* fix: org rename caos -> zitadel

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2022-04-26 23:01:45 +00:00

15 lines
345 B
Go

package auth
import "github.com/zitadel/zitadel/internal/api/grpc/server/middleware"
func (c *ListMyUserChangesResponse) Localizers() []middleware.Localizer {
if c == nil {
return nil
}
localizers := make([]middleware.Localizer, len(c.Result))
for i, change := range c.Result {
localizers[i] = change.EventType
}
return localizers
}