mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 07:57:32 +00:00
chore: move the go code into a subfolder
This commit is contained in:
14
apps/api/pkg/grpc/auth/changes.go
Normal file
14
apps/api/pkg/grpc/auth/changes.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user